extends Node var T : float = 500 var k : float = 0 var a : float = 0 var d : float = 0 var s : float = 0 func get_names(): return "Tkads" func dict_to_str (cost): var st = "" for n in cost.keys(): st += str(cost[n]) + n return st func add (cost): for n in cost.keys(): self[n] += cost[n] func sub (cost): for n in cost.keys(): self[n] -= cost[n] func greater_than (cost): for n in cost.keys(): if self[n] < cost[n]: return false return true