public LoadMapMenu(GraphicsDevice graphicsDevice, ContentManager Content, MenuHandler menuHandler, MapHandlerScene mapHandler, Level.TileMap tileMap) { this.tileMap = tileMap; miniMap = new Level.MiniMap(Content, graphicsDevice, new Vector2(400, 300), new Databases.Level.BinaryMapSerialization(), new Databases.Level.BinaryLevelInfoSerialization()); components = new List <AGUIComponent>(); InitializeGUI(Content, menuHandler); backGround = Content.Load <Texture2D>(@"textures/whiteRectangle"); this.mapHandler = mapHandler; Resolution.ResolutionHandler.Changed += ResetSizes; }
public LoadMapAction(Level.MiniMap miniMap, Level.TileMap tileMap) { this.miniMap = miniMap; this.tileMap = tileMap; }
public ChangeMiniMapAction(Level.MiniMap miniMap, int changeStep) { this.miniMap = miniMap; this.changeStep = changeStep; }