public CatapultGame() { graphics = new GraphicsDeviceManager(this); graphics.PreferredBackBufferWidth = screenWidth; graphics.PreferredBackBufferHeight = screenHeight; graphics.ApplyChanges(); IsFixedTimeStep = true; playerCatapult = new Catapult(this); Content.RootDirectory = "Content"; }
public CatapultGame() { graphics = new GraphicsDeviceManager(this); graphics.PreferredBackBufferWidth = screenWidth; graphics.PreferredBackBufferHeight = screenHeight; Content.RootDirectory = "Content"; Components.Add(new GamerServicesComponent(this)); IsFixedTimeStep = true; playerCatapult = new Catapult(this); }