diff options
author | Hop311 <hop3114@gmail.com> | 2023-08-10 13:00:54 +0200 |
---|---|---|
committer | Hop311 <hop3114@gmail.com> | 2023-08-10 13:00:54 +0200 |
commit | 4c43951e70aaa2e7265d3b3f3c4964c048b9328d (patch) | |
tree | c6d46df1686710ccacd63ceb16d687cb55877457 /game/src/Game/Theme/PieChart/chart_test.gd | |
parent | 505176d9cabe76cff7cdac6b4d4ef1c77ccb00d9 (diff) |
PieChart data and image now come from c++ layer
Diffstat (limited to 'game/src/Game/Theme/PieChart/chart_test.gd')
-rw-r--r-- | game/src/Game/Theme/PieChart/chart_test.gd | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/game/src/Game/Theme/PieChart/chart_test.gd b/game/src/Game/Theme/PieChart/chart_test.gd deleted file mode 100644 index 8a3b865..0000000 --- a/game/src/Game/Theme/PieChart/chart_test.gd +++ /dev/null @@ -1,32 +0,0 @@ -extends Control - - - -# Called when the node enters the scene tree for the first time. -func _ready(): - var chart:PieChart = $LayeredChart/OuterPieChart - chart.addOrReplaceLabel("label4",3,"Socialist",Color(1.0,0.0,0.0)) - - var chart2:PieChart = $PieChart3 - chart2.RemoveLabel("label1") - chart2.RemoveLabel("label2") - chart2.RemoveLabel("label3") - chart2.RemoveLabel("label4") - - #$PieChart - #$PieChart2 - #$PieChart/PieChart2 - var chart3:PieChart = $LayeredChart/InnerPieChart - chart3.RemoveLabel("label1") - chart3.RemoveLabel("label2") - chart3.RemoveLabel("label3") - chart3.addOrReplaceLabel("a",3,"",Color(1.0,0.0,0.0)) - chart3.addOrReplaceLabel("b",3,"Y",Color(0.0,1.0,0.0)) - chart3.addOrReplaceLabel("c",3,"Z",Color(0.0,0.0,1.0)) - - - var chart4:PieChart = $PieChart4 - chart4.addOrReplaceLabel("hi",3,"antidisenstablishmentarianist antidisenstablishmentarianism",Color(0.0,0.5,0.5)) -# Called every frame. 'delta' is the elapsed time since the previous frame. -func _process(delta): - pass |