예제 #1
0
    void EndTurn()
    {
        player.Dead();
        girl.End();
        enemy.End();

        if (player.isDead == true || girl.isDead == true || enemy.isDead == true)
        {
            fade.isFadeIn = true;

            if (fade.isFade == true)
            {
                if (player.isDead || girl.isDead)
                {
                    scene.GameOver();
                }

                if (enemy.isDead)
                {
                    switch (ButtleNumber)
                    {
                    case 1:
                        scene.Scenario2();
                        break;

                    case 2:
                        scene.Clear();
                        break;
                    }
                }
            }
        }
    }
예제 #2
0
 void EndTurn()
 {
     player.Dead();
     girl.End();
     enemy.End();
 }