extends "res://Entities/Characters/character.gd"

func _input(event):
	if event is InputEventKey:
		match event.keycode:
			KEY_W:
				self.mover.state_move_forward = event.pressed
			KEY_A:
				self.mover.state_move_left = event.pressed
			KEY_S:
				self.mover.state_move_backward = event.pressed
			KEY_D:
				self.mover.state_move_right = event.pressed
			KEY_Q:
				self.mover.state_turn_left = event.pressed
			KEY_E:
				self.mover.state_turn_right = event.pressed
