breadwinner/classes/options/control_options.gd

12 lines
305 B
GDScript3
Raw Normal View History

class_name ControlOptions extends Options
#TODO: add gameplay related settings here, each have their own property
var move_forward: Key = Key.KEY_W
var move_left: Key = Key.KEY_A
var move_right: Key = Key.KEY_D
var move_backward: Key = Key.KEY_S
func _init() -> void:
cur_type = Options.type.CONTROLS