feat: Create player input and powerup managers to handle player interactions, movement, actions, targeting, and boost meter mechanics.
This commit is contained in:
@@ -125,8 +125,9 @@ func handle_unhandled_input(event):
|
||||
if player.powerup_manager.has_method("spawn_boost_reward"):
|
||||
player.powerup_manager.spawn_boost_reward()
|
||||
KEY_G:
|
||||
if not player.is_carrying_tekton:
|
||||
player.grab_tekton()
|
||||
if not player.is_carrying_tekton and player.powerup_manager:
|
||||
if player.powerup_manager.can_use_special():
|
||||
player.grab_tekton()
|
||||
|
||||
# Handle spawn point selection if not yet selected
|
||||
|
||||
|
||||
Reference in New Issue
Block a user