예제 #1
0
        public void TestStartTimer()
        {
            var trigger = new StartTimer("90");

            Assert.AreEqual(90, trigger.StartingTime);
            var player = new Player();

            GameTrigger.OnGameStarting();
            Assert.AreEqual(trigger.StartingTime, player.Time);
            GameTrigger.OnUpdateEverySecond();
        }