public AdventureScene() : base(AppDelegate.SharedWindow) { var bg = new BackgroundLayer(@"pic\1.png"); AddChild(bg); var ui = new LoadingUiLayer(); AddChild(ui); }
public LoadingScene(Action timeoutCallback = null, int timeout = 10) : base(AppDelegate.SharedWindow) { var bg = new BackgroundLayer(@"pic\1.png"); AddChild(bg); var ui = new LoadingUiLayer(timeoutCallback, timeout); AddChild(ui); }