pandemonium_engine_easy_charts/addons/easy_charts/Utilities/Slice/slice.gd

18 lines
341 B
GDScript3
Raw Normal View History

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