C# Class MilkShakeFramework.Core.Scenes.SceneManager

显示文件 Open project: lucas-jones/MilkShake-old

Public Methods

Method Description
AddScene ( string key, Scene scene ) : void
AddScene ( string key, Scene scene, LoadingScene loadingScene ) : void
ChangeScreen ( string key ) : void
Draw ( ) : void
LoadScreenTheaded ( string key, BasicEvent onComplete ) : void
RemoveScene ( string key ) : void
Setup ( ) : void
Update ( GameTime gameTime ) : void

Method Details

AddScene() public static method

public static AddScene ( string key, Scene scene ) : void
key string
scene Scene
return void

AddScene() public static method

public static AddScene ( string key, Scene scene, LoadingScene loadingScene ) : void
key string
scene Scene
loadingScene LoadingScene
return void

ChangeScreen() public static method

public static ChangeScreen ( string key ) : void
key string
return void

Draw() public static method

public static Draw ( ) : void
return void

LoadScreenTheaded() public static method

public static LoadScreenTheaded ( string key, BasicEvent onComplete ) : void
key string
onComplete BasicEvent
return void

RemoveScene() public static method

public static RemoveScene ( string key ) : void
key string
return void

Setup() public static method

public static Setup ( ) : void
return void

Update() public static method

public static Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void