Fix spawn point for player, add flee behavior for gold sproingy
This commit is contained in:
@@ -79,6 +79,8 @@ public abstract partial class Enemy : CharacterBody3D, IEnemy, IProvide<IEnemyLo
|
||||
|
||||
if (this is IHaveFollowBehavior)
|
||||
_enemyLogic.Input(new EnemyLogic.Input.Follow());
|
||||
if (this is IHaveFleeBehavior)
|
||||
_enemyLogic.Input(new EnemyLogic.Input.Flee());
|
||||
}
|
||||
})
|
||||
.Handle((in EnemyLogic.Output.Idle _) =>
|
||||
|
||||
Reference in New Issue
Block a user