necromancer spawnable

This commit is contained in:
Victor Turgeon
2023-10-11 07:55:45 -04:00
parent 8a90593a42
commit ea69342911
3 changed files with 280 additions and 0 deletions

View File

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