public CharacterRenderer(Character character, Camera camera, Texture2D texture, SpriteFont font)
     : base(character, camera, texture, font, new Point(64, 64), 50, new Point(32, 55), 2f)
 {
     this.character = character;
     animation = Animation.Idle;
     direction = Direction.South;
     frameCount = 1;
     animationRow = 8;
 }
Пример #2
0
 public AggressiveAi(Character host, float range) : base(host) 
 {
     this.range = range;
     attacker = (IAttacker)host;
 }
Пример #3
0
 public WalkingAi(Character host, float range) : base(host) 
 {
     this.range = range;
     Random = new Random();
     delay = TimeSpan.Zero;
 }
Пример #4
0
 public Ai(Character host)
 {
     Host = host;
     startPoint = null;
     destination = null;
 }