Esempio n. 1
0
 public void DrawOnLaptop(SpriteBatch sb)
 {
     Eyesaur.DrawOnLaptop(sb);
     Flumpty.DrawOnLaptop(sb);
     BBB.DrawOnLaptop(sb);
     Clown.DrawOnLaptop(sb);
     Owl.DrawOnLaptop(sb);
     Redman.DrawOnLaptop(sb);
     GoldenFlumpty.DrawOnLaptop(sb);
 }
Esempio n. 2
0
        public MonsterManager(Level level)
        {
            Level = level;

            Flumpty       = new Flumpty(Level);
            BBB           = new BirthdayBoyBlam(Level);
            Eyesaur       = new Eyesaur(Level);
            Clown         = new Grunkfuss(Level);
            Owl           = new Owl(Level);
            Redman        = new Redman(Level);
            GoldenFlumpty = new GoldenFlumpty(Level);

            Monsters = new List <MonsterBase> {
                Flumpty, BBB, Eyesaur, Clown, Owl, Redman, GoldenFlumpty
            };

            spookSounds = new List <SoundEffect>();
        }
Esempio n. 3
0
        public void DrawOnCamera(SpriteBatch sb, Vector2 offset, CameraIndex cam)
        {
            Owl.DrawOnCamera(sb, offset, cam);

            if (cam != CameraIndex.Cam6)
            {
                Eyesaur.DrawOnCamera(sb, offset, cam);
            }

            Clown.DrawOnCamera(sb, offset, cam);
            Flumpty.DrawOnCamera(sb, offset, cam);
            BBB.DrawOnCamera(sb, offset, cam);

            if (cam == CameraIndex.Cam6)
            {
                Eyesaur.DrawOnCamera(sb, offset, cam);
            }
        }