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