protected override void Initialize() { IsMouseVisible = true; map = new Map("Town", 30, 30); //Set the current map to map 0. tileTextureList = new List <Texture2D>(); player = new Player(100, 100, 100, 100, 1, 0, 90, 90, "Saisei", "Player", 48, 64); mouseHandler = new MouseHandler(); keyboardHandler = new KeyboardHandler(); base.Initialize(); }
protected override void Initialize() { graphics.PreferredBackBufferWidth = 800; graphics.PreferredBackBufferHeight = 600; graphics.ApplyChanges(); IsMouseVisible = true; map = new Map("Town", 30, 30); //Set the current map to map 0. tileTextureList = new List <Texture2D>(); player = new Player(100, 100, 100, 100, 1, 0, 90, 90, "Saisei", "Player", 48, 64); mouseHandler = new MouseHandler(); keyboardHandler = new KeyboardHandler(); base.Initialize(); }