예제 #1
0
파일: Map.cs 프로젝트: kindam/TWTactics
        /// <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();
        }
예제 #2
0
파일: Map.cs 프로젝트: kindam/TWTactics
        /// <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();
        }
예제 #3
0
파일: World.cs 프로젝트: kindam/TWTactics
        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();
        }