Exemplo n.º 1
0
 public NPC(Vector2 position, float fov = 60)
     : base(position)
 {
     FOV = fov;
     walkAnimation = Animations.NPC.CreateAnimation();
     alertedAnimation = Animations.NPCAlerted.CreateAnimation();
 }
Exemplo n.º 2
0
 public Monster(Vector2 position)
     : base(position)
 {
     animation = Animations.Monster.CreateAnimation();
 }
Exemplo n.º 3
0
 public void RemoveAnimation(Animation animation)
 {
     anims.Remove(animation.Action);
 }
Exemplo n.º 4
0
 public void AddAnimation(Animation animation)
 {
     anims[animation.Action] = animation;
 }