Exemplo n.º 1
0
        public Boss(Texture2D tex, Vector2 pos, Vector2 vel)
            : base(tex, pos, vel)
        {
            scale = LevelManager.Current.BossStats.Size;
            Size *= scale;
            Life  = LevelManager.Current.BossStats.Health;

            stats      = LevelManager.Current.BossStats;
            pointValue = 1000;

            damageTaken        = 1;
            rotationalVelocity = 0;
        }
Exemplo n.º 2
0
 public WormBoss(Vector2 pos, Vector2 vel, Texture2D tex, int chainPos, int length, WormBoss Parent)
     : base(pos, vel, tex, chainPos, length, (EWorm)Parent)
 {
     stats = LevelManager.Current.BossStats;
     if (chainPos == 0)
     {
         CollisionLocation = new Vector2();
     }
     scale       = stats.Size;
     Size       *= scale;
     Life        = stats.Health;
     damageTaken = 1;
     if (chainPos == 0)
     {
         pointValue = 1000;
     }
     else
     {
         damageTaken = 0;
     }
 }