Exemplo n.º 1
0
        public void Level1()
        {
            while (m_level == LEVEL.ONE)
            {
                for (int i = 0; i < 2; i++)
                {
                    AddItem(ThreatFactory.GetThreat(ThreatFactory.ThreatType.RECTANGLE, AddItemAction));
                }

                Thread.Sleep(8000);
            }
        }
Exemplo n.º 2
0
        public void Level7()
        {
            Player.Health.SetHealth(Health.MAX_HEALTH);

            while (m_level == LEVEL.SEVEN)
            {
                for (int i = 0; i < 2; i++)
                {
                    AddItem(ThreatFactory.GetThreat(ThreatFactory.ThreatType.YIN_AND_YANG, AddItemAction));
                }
                Thread.Sleep(15000);
            }
        }
Exemplo n.º 3
0
        public void Level2()
        {
            Player.Health.SetHealth(Health.MAX_HEALTH);

            while (m_level == LEVEL.TWO)
            {
                for (int i = 0; i < 5; i++)
                {
                    AddItem(ThreatFactory.GetThreat(ThreatFactory.ThreatType.RECTANGLE, AddItemAction));
                }
                Thread.Sleep(14000);
            }
        }