コード例 #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;
 }