public override void Draw(State state, Rect rect)
        {
            base.Draw(state, rect);

            // Draw the panels.
            PawnListMode pawnListMode = PrepareCarefully.Instance.State.PawnListMode;

            PanelColonyPawns.Draw(state);
            PanelWorldPawns.Draw(state);
            if (state.CurrentPawn != null)
            {
                PanelRandomize.Draw(state);
                PanelName.Draw(state);
                PanelSaveLoad.Draw(state);
                PanelAge.Draw(state);
                PanelAppearance.Draw(state);
                if (pawnListMode == PawnListMode.WorldPawnsMaximized)
                {
                    PanelFaction.Draw(state);
                }
                PanelBackstory.Draw(state);
                PanelTraits.Draw(state);
                PanelHealth.Draw(state);
                PanelSkills.Draw(state);
                PanelIncapable.Draw(state);
            }
        }
Example #2
0
        public override void Draw(State state, Rect rect)
        {
            base.Draw(state, rect);

            // Draw the panels.
            PanelPawnList.Draw(state);
            if (state.CurrentPawn != null)
            {
                PanelRandomize.Draw(state);
                PanelName.Draw(state);
                PanelSaveLoad.Draw(state);
                PanelAge.Draw(state);
                PanelAppearance.Draw(state);
                PanelBackstory.Draw(state);
                PanelTraits.Draw(state);
                PanelHealth.Draw(state);
                PanelSkills.Draw(state);
                PanelIncapable.Draw(state);
            }
        }