BING CHILLING
This commit is contained in:
@@ -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()
|
||||
|
@@ -1,5 +1,5 @@
|
||||
class_name AITemplate
|
||||
extends Node
|
||||
|
||||
func getDirection(position, enemyPosition) -> Vector2:
|
||||
func getDirection(_position, _enemyPosition) -> Vector2:
|
||||
return Vector2.ZERO
|
||||
|
Reference in New Issue
Block a user