This repository has been archived on 2020-09-30. You can view files and clone it, but cannot push or open issues or pull requests.
odyssey-old/Classes/UICommand.gd

12 lines
176 B
GDScript3
Raw Normal View History

2020-07-06 22:00:39 +00:00
class_name UICommand
enum CommandType {
SetShipSpeed,
SetShipDirection
}
var cmd_type = null
var cmd_args = []
func _init(_type, _args):
cmd_type = _type
cmd_args = _args