protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); var g = new Robber2D(); SetContentView((View)g.Services.GetService(typeof(View))); g.Run(); }
public StartScreen(ContentManager contentManager, GraphicsDevice graphicsDevice, Robber2D game) : base(contentManager, graphicsDevice, game) { }
public EndScreen(ContentManager contentManager, GraphicsDevice graphicsDevice, Robber2D game, GameResult gameResult) : base(contentManager, graphicsDevice, game) { this.gameResult = gameResult; }
public InGame(ContentManager contentManager, GraphicsDevice graphicsDevice, Robber2D game) : base(contentManager, graphicsDevice, game) { gameMode = GameMode.Tank; CurrentWorld = 0; }
public LevelScreen(ContentManager contentManager, GraphicsDevice graphicsDevice, Robber2D game, GameMode selectedGameMode) : base(contentManager, graphicsDevice, game) { this.selectedGameMode = selectedGameMode; }
public InGame(ContentManager contentManager, GraphicsDevice graphicsDevice, Robber2D game, GameMode gameMode, int startWorld) : base(contentManager, graphicsDevice, game) { this.gameMode = gameMode; CurrentWorld = startWorld; }
public GameState(ContentManager contentManager, GraphicsDevice graphicsDevice, Robber2D game) { this.GraphicsDevice = graphicsDevice; this.ContentManager = contentManager; this.Game = game; }
static void Main() { using (var game = new Robber2D()) game.Run(); }