BING CHILLING

This commit is contained in:
Victor Turgeon
2023-10-10 18:29:06 -04:00
parent eaf2a0f200
commit 0f501386d4
6 changed files with 17 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
extends AITemplate
func getDirection(position, enemyPosition) -> Vector2:
return Vector2(enemyPosition - position).normalized()
func getDirection(_position, _enemyPosition) -> Vector2:
return Vector2(_enemyPosition - _position).normalized()

View File

@@ -1,5 +1,5 @@
class_name AITemplate
extends Node
func getDirection(position, enemyPosition) -> Vector2:
func getDirection(_position, _enemyPosition) -> Vector2:
return Vector2.ZERO