12 lines
176 B
GDScript3
12 lines
176 B
GDScript3
|
class_name UICommand
|
||
|
|
||
|
enum CommandType {
|
||
|
SetShipSpeed,
|
||
|
SetShipDirection
|
||
|
}
|
||
|
var cmd_type = null
|
||
|
var cmd_args = []
|
||
|
func _init(_type, _args):
|
||
|
cmd_type = _type
|
||
|
cmd_args = _args
|