Exemple #1
0
        public static CCScene GameOverLayerScene(CCWindow mainWindow, int score)
        {
            var scene = new CCScene(mainWindow);
            var layer = new GameOverLayer(score);

            scene.AddChild(layer);

            return(scene);
        }
Exemple #2
0
 void GameOver()
 {
     Window.DefaultDirector.ReplaceScene(GameOverLayer.GameOverLayerScene(Window, GameCore.Points));
 }