public PlayerIntelligence(AbstractCreature player, float speed)
 {
     this.player = player;
     this.speed = speed;
     lastOrientation = Orientation.None;
 }
 public CreatureIntelligence(AbstractCreature creature, AbstractCreature target, float speed)
 {
     this.creature = creature;
     this.target = target;
     this.speed = speed;
 }
Beispiel #3
0
 public Enemy(SpriteManager spriteManager, AbstractCreature target, Vector2 position)
 {
     this.spriteManager = spriteManager;
     this.body = new BasicBody(this, position, 1f);
     this.intelligence = new CreatureIntelligence(this, target, .75f);
 }