Esempio n. 1
0
 public StateSingle(LeGame g)
     : base(g)
 {
     #region Entities Construction
     player = new PlayerEntity(game, LeGame.PLAYER_STARTING_LOCATION);
     ogre = new OgreEntity(game, LeGame.OGRE_STARTING_LOCATION, 0.0f);
     mouse = new MouseEntity(game);
     #endregion
     #region Component Construction
     environment = new TileEnvironment(game, player, LeGame.ENVIRONMENT_WIDTH, LeGame.ENVIRONMENT_HEIGHT);
     audioControl = new AudioController(game, false, false);
     #endregion
 }
Esempio n. 2
0
 public EnvironmentLoader(TileEnvironment environment)
 {
     this.environment = environment;
 }