public Game1() { graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; drawSprites = new List <Sprite>(); actors = new List <Actor>(); builder = new XMLAssetBuilder(Content); if (mainGame == null) { mainGame = this; //It's going to upset a couple of people but for the sake of playing animations as expected 60FPS is the way to go IsFixedTimeStep = true; } }
public Game1() { graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; builder = new XMLAssetBuilder(Content); if (mainGame == null) { mainGame = this; //It's going to upset a couple of people but for the sake of playing animations as expected 60FPS is the way to go IsFixedTimeStep = true; activeRoom = null; rooms = new Dictionary <string, BaseRoom>(); } }