Example #1
0
 public Player(List <SpriteSheet> loadedSheets, Eagle myEagle, Bullet myBullet)
     : base(loadedSheets)
 {
     health         = 100;
     isInvulnerable = false;
     rateOfFire     = 1;
     pupDuration    = 30;
     killCount      = 0;
     hasPup         = false;
     score          = 0;
     canFire        = true;
     canUseStrike   = true;
     canUseFear     = true;
     isJumping      = false;
     isFalling      = false;
     isColliding    = false;
     isAnimatable   = true;
     animationState = Animations.Idle;
 }
Example #2
0
 public Player(Texture2D loadedTex, Eagle myEagle, Bullet myBullet)
     : base(loadedTex)
 {
     health         = 100;
     isInvulnerable = false;
     rateOfFire     = 1;
     pupDuration    = 30;
     killCount      = 0;
     hasPup         = false;
     score          = 0;
     canFire        = true;
     canUseStrike   = true;
     canUseFear     = true;
     isJumping      = false;
     isFalling      = false;
     isColliding    = false;
     isAnimatable   = false;
     animationState = Animations.None;
 }