示例#1
0
文件: Game.cs 项目: srakowski/LD36
 public Game()
 {
     _gameImpl       = new MonoGameImpl();
     Content         = new ContentManager(_gameImpl.Content);
     Stage           = new GameStage();
     Input           = new InputManager();
     State           = new GameStateManager(Input, Content, Stage);
     _gameImpl.State = State;
     ConvertUnits.SetDisplayUnitToSimUnitRatio(64f);
 }
示例#2
0
 public Game()
 {
     _gameImpl = new MonoGameImpl();
     _content = new ContentManager(_gameImpl.Content);
     Stage = new GameStage();
     Input = new InputManager();
     State = new GameStateManager(Input, _content, Stage);
     _gameImpl.State = State;
     ConvertUnits.SetDisplayUnitToSimUnitRatio(64f);
 }
示例#3
0
文件: Game.cs 项目: srakowski/LD36
 public void Dispose()
 {
     _gameImpl.Dispose();
     _gameImpl = null;
 }
示例#4
0
 public void Dispose()
 {
     _gameImpl.Dispose();
     _gameImpl = null;
 }