mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-10 01:25:54 +00:00
Enemy Navigation Movement
This commit is contained in:
parent
388747ccb3
commit
9d302e48e6
5 changed files with 247 additions and 15 deletions
|
|
@ -308,17 +308,21 @@ public partial class Enemy : CharacterBody2D
|
|||
Ai = AiState.Controlled;
|
||||
}
|
||||
|
||||
protected enum EnemyState
|
||||
{
|
||||
Idle,
|
||||
Alert,
|
||||
Patrolling
|
||||
}
|
||||
|
||||
|
||||
public enum AiState
|
||||
{
|
||||
Enabled,
|
||||
Disabled,
|
||||
Controlled
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public enum EnemyState
|
||||
{
|
||||
Idle,
|
||||
Alert,
|
||||
Patrolling
|
||||
}
|
||||
|
||||
public enum AiState
|
||||
{
|
||||
Enabled,
|
||||
Disabled,
|
||||
Controlled
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue