Added AbstractProjectile

This commit is contained in:
2025-10-24 16:59:56 +03:00
parent f46630499c
commit 991adde0ac
7 changed files with 15 additions and 9 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ var position : Vector2:
return $Ship.position
func _process(delta: float) -> void:
func _physics_process(delta: float) -> void:
var input_direction := Input.get_vector("move_left", "move_right", "move_up", "move_down")
$Ship.accelerate(input_direction, delta)