// Constructor. public GameMain(Game1 game, int sizeX, int sizeY) { this.game = game; selection = new SelectionTile(Ressources.SelectionTest); mapBackground = new Map(Ressources.tileSetFloorInt, this.cursor, this.selection, 6, 0, map1); mapMiddleground = new Map(Ressources.tileSetInterieur, this.cursor, this.selection, 5, 4, map2); cursor = new Cursor(32, 32, 2); sprite = new Sprite(new Vector2(875, 30), 5, 4, 6 ,0, 0 ,0); hud = new HUD(this.game, Ressources.textureHUD, this.cursor, this.sprite); }