Most of prototype! yay
This commit is contained in:
14
common/player_states/player_state.gd
Normal file
14
common/player_states/player_state.gd
Normal file
@@ -0,0 +1,14 @@
|
||||
extends Resource
|
||||
class_name Player_State
|
||||
|
||||
func restrict_movement() -> bool:
|
||||
return false
|
||||
|
||||
func on_movement_input(input: Vector2, player: Player):
|
||||
pass
|
||||
|
||||
func restrict_rotation() -> bool:
|
||||
return false
|
||||
|
||||
func on_rotation_input(input: float, player: Player):
|
||||
pass
|
||||
Reference in New Issue
Block a user