示例#1
0
        public Main()
        {
            Instance = this;
            LabelPlacementHandler = new LabelPlacementHandler(
                _labelHolder,
                new MeshHandler(_fontHandler));

            _labelDrawer = new LabelDrawer(_labelHolder, _fontHandler);
        }
示例#2
0
        public override void WorldLoaded()
        {
            base.WorldLoaded();

            _customRoomLabelManager =
                UtilityWorldObjectManager.GetUtilityWorldObject <CustomRoomLabelManager>();

            LabelPlacementHandler = new LabelPlacementHandler(
                _labelHolder,
                new MeshHandler(_fontHandler),
                new LabelMaker(_customRoomLabelManager),
                new RoomRoleFinder(_customRoomLabelManager)
                );

            _labelDrawer = new LabelDrawer(_labelHolder, _fontHandler);
        }