Пример #1
0
 internal EvilFraiserFight()
 {
     enemys = new List<Enemy>();
     dog = new EdwardDog(new Vector2f(400, 200),this);
     boss = new EvilFraiser(new Vector2f(671, 450), dog);
     dog.setLeasher(boss);
     boss.setVisable(false);
     enemys.Add(dog);
     enemys.Add(boss);
 }
Пример #2
0
        internal EvilFraiser(Vector2f v, EdwardDog ed)
            : base(v)
        {
            enemyCooldowns = new Cooldown[3];
            enemyCooldowns[(int)cooldowns.volley] = new Cooldown(VOLLEY_CD);
            enemyCooldowns[(int)cooldowns.melee] = new Cooldown(MELEE_CD);
            enemyCooldowns[(int)cooldowns.bite] = new Cooldown(BITE_CD);
            currentHp = maxHp = BOSS_HP;
            currentTexture = bossCircleTexture;
            innerCircle = 40;
            circleSize = 100;

            dog = ed;
        }