/// <summary> /// Creates a new MiniMap /// </summary> private Map(Map mainMap) { _isMiniMap = true; EventPublisher = new Publisher(this); MarkerManager = mainMap.MarkerManager; Manipulators = new ManipulatorManagerController(this, mainMap); _toolTip = JanusControls.CreateTooltip(); SetTooltipProperties(); }
/// <summary> /// Creates a new Map /// </summary> private Map() { _isMiniMap = false; EventPublisher = new Publisher(this); MarkerManager = new MarkerManager(); Manipulators = new ManipulatorManagerController(this); _toolTip = JanusControls.CreateTooltip(); SetTooltipProperties(); }
private World() { Settings = new WorldSettings(); EventPublisher = new Publisher(); Map = Map.CreateMap(); _miniMap = Map.CreateMiniMap(Map); _players = new Dictionary<string, Player>(); _tribes = new Dictionary<string, Tribe>(); _villages = new WorldVillagesCollection(); Cache = new AutoCompleteCache(); Views = new ViewsCollection(); You = new Player(); }