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