Example #1
0
 public void Update(float delta)
 {
     State = Constants.Scene.SCENE_STATE.RUNNING;
     gameObjectManager.Update(delta);
     Camera.Update(gameObjectManager.unit);
     ParticlesProcessor.Update();
     UIProcessor.Update(delta);
 }
Example #2
0
 public void LoadContent(Game1 game)
 {
     State = Constants.Scene.SCENE_STATE.LOADING;
     gameObjectManager.LoadContent(game);
     ParticlesProcessor.LoadContent(game);
     AudioProcessor.LoadContentAndPlay(game);
     UIProcessor.LoadContent(game);
 }
Example #3
0
 public void Update(float delta)
 {
     State = Constants.Scene.SCENE_STATE.RUNNING;
 }
Example #4
0
 public void Initialize(Game1 game)
 {
     State             = Constants.Scene.SCENE_STATE.INITIALIZING;
     gameObjectManager = new GameObjectManager();
     inputManager      = new InputManager(gameObjectManager.unit);
 }
Example #5
0
 public void LoadContent(Game1 game)
 {
     State = Constants.Scene.SCENE_STATE.LOADING;
 }