WIP pathfinding AI navigator, Level class refactoring

This commit is contained in:
Regalis11
2015-11-15 19:14:08 +02:00
parent 24ed95cd68
commit ef9d7ef0d4
11 changed files with 199 additions and 107 deletions
@@ -10,7 +10,7 @@ namespace Barotrauma
public enum AiState { None, Attack, GoTo, Escape }
public enum SteeringState { Wander, Seek, Escape }
public Character Character;
public readonly Character Character;
protected AiState state;
@@ -45,10 +45,7 @@ namespace Barotrauma
steeringManager = new SteeringManager(this);
}
public virtual void DebugDraw(SpriteBatch spriteBatch)
{
}
public virtual void DebugDraw(SpriteBatch spriteBatch) { }
public virtual void OnAttacked(IDamageable attacker, float amount) { }