예제 #1
0
 public override void ResetPlayer()
 {
     base.ResetPlayer();
     doveActions = DoveActions.None;
     poos.Clear();
     ResetFork();
 }
예제 #2
0
 public void ChangeDoveAction(DoveActions action)
 {
     if (doveActions != action)
     {
         doveActions     = action;
         changeAnimation = true;
     }
 }
예제 #3
0
 public Dove(Animation animation, Animation deadAnimation, Aim aim, Texture2D measureBar,
             string id, int maxHp, int maxSp, float spRegen, float move, float maximumFallingSpeed,
             Vector2 distanceToHand, Side side, Inputs inputs,
             Animation sandwich, Texture2D pooTexture, int maxNumberOfPoos, Animation stinkAnimation, Projectile fork)
     : base(animation, deadAnimation, aim, measureBar, id, maxHp, maxSp, spRegen, move, maximumFallingSpeed,
            distanceToHand, side, inputs)
 {
     doveActions   = DoveActions.None;
     this.sandwich = sandwich;
     poos          = new List <Poo>();
     this.fork     = fork;
     ResetFork();
     this.pooTexture     = pooTexture;
     maxSkillValue       = maxNumberOfPoos;
     this.stinkAnimation = stinkAnimation;
 }