mirror of
https://github.com/Relintai/pandemonium_engine_easy_charts.git
synced 2024-12-21 13:47:18 +01:00
18 lines
341 B
GDScript3
18 lines
341 B
GDScript3
|
extends Reference
|
||
|
class_name Slice
|
||
|
|
||
|
var x_value : String
|
||
|
var y_value : String
|
||
|
var from_angle : float
|
||
|
var to_angle : float
|
||
|
var function : String
|
||
|
var color : Color
|
||
|
|
||
|
func _init(x : String, y : String, from : float, to : float, fun : String, col : Color):
|
||
|
x_value = x
|
||
|
y_value = y
|
||
|
from_angle = from
|
||
|
to_angle = to
|
||
|
function = fun
|
||
|
color = col
|