Exemplo n.º 1
0
        public override void DoWindowContents(Rect rect)
        {
            DrawPageTitle(rect);
            StorytellerUI.DrawStorytellerSelectionInterface_NewTemp(GetMainRect(rect), ref storyteller, ref difficulty, ref difficultyValues, selectedStorytellerInfoListing);
            DoBottomButtons(rect);
            Rect rect2 = new Rect(rect.xMax - Page.BottomButSize.x - 200f - 6f, rect.yMax - Page.BottomButSize.y, 200f, Page.BottomButSize.y);

            Text.Font   = GameFont.Tiny;
            Text.Anchor = TextAnchor.MiddleRight;
            Widgets.Label(rect2, "CanChangeStorytellerSettingsDuringPlay".Translate());
            Text.Anchor = TextAnchor.UpperLeft;
        }
Exemplo n.º 2
0
        public override void DoWindowContents(Rect rect)
        {
            DrawPageTitle(rect);
            Rect           mainRect    = GetMainRect(rect);
            Storyteller    storyteller = Current.Game.storyteller;
            StorytellerDef def         = Current.Game.storyteller.def;

            StorytellerUI.DrawStorytellerSelectionInterface_NewTemp(mainRect, ref storyteller.def, ref storyteller.difficulty, ref storyteller.difficultyValues, selectedStorytellerInfoListing);
            if (storyteller.def != def)
            {
                storyteller.Notify_DefChanged();
            }
        }