public static CCScene Scene(this CCLayer layer) { var scene = new CCScene(); scene.Add(layer); return(scene); }
public static CCScene Scene(int score) { var scene = new CCScene (); var layer = new HighScoreLayer (score); scene.Add(layer); return scene; }
public static CCScene Scene(int score) { var scene = new CCScene(); var layer = new HighScoreLayer(score); scene.Add(layer); return(scene); }
public static CCScene Scene(this CCLayer layer) { var scene = new CCScene (); scene.Add (layer); return scene; }