public DKGame() { instance = this; graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; inputControllers = new List <IGameController> { new GameKeyboardController(this) }; graphics.PreferredBackBufferWidth = (int)WINDOW_SIZE.X; graphics.PreferredBackBufferHeight = (int)WINDOW_SIZE.Y; }
public PlayerCPBarrelCommand(DKGame dkGame) { game = dkGame; }
static void Main() { using (var game = new DKGame()) game.Run(); }
public CollisionHandler(DKGame dkgame) { game = dkgame; LoadCollisionResponse(); }