コード例 #1
0
        public override void Draw(SpriteBatch spriteBatch)
        {
            if (!Visible)
            {
                return;
            }
            base.Draw(spriteBatch);

            //draw other windows
            summaryMenu.Draw(spriteBatch);
        }
コード例 #2
0
ファイル: TopMenu.cs プロジェクト: RogueCollab/RogueEssence
        public override void Draw(SpriteBatch spriteBatch)
        {
            if (!Visible)
            {
                return;
            }
            base.Draw(spriteBatch);

            //draw other windows
            if (PathMod.Mod != "")
            {
                titleMenu.Draw(spriteBatch);
            }
        }
コード例 #3
0
        public override void Draw(SpriteBatch spriteBatch)
        {
            if (!Visible)
            {
                return;
            }
            base.Draw(spriteBatch);

            summaryMenu.Draw(spriteBatch);

            if (portrait.Speaker.Species > 0)
            {
                portrait.Draw(spriteBatch, new Loc());
            }
        }
コード例 #4
0
        public override void Draw(SpriteBatch spriteBatch)
        {
            if (!Visible)
            {
                return;
            }
            base.Draw(spriteBatch);

            //draw other windows
            yourTitle.Draw(spriteBatch);
            yourSummary.Draw(spriteBatch);

            if (theirInfo.CurrentOffer != null)
            {
                theirInfo.Draw(spriteBatch);
            }
            theirTitle.Draw(spriteBatch);
            theirSummary.Draw(spriteBatch);
        }
コード例 #5
0
        public override void Draw(SpriteBatch spriteBatch)
        {
            if (!Visible)
            {
                return;
            }
            base.Draw(spriteBatch);

            titleMenu.Draw(spriteBatch);

            if (Portrait.Speaker.Species > 0)
            {
                Portrait.Draw(spriteBatch, new Loc());
            }

            if (!Inactive)
            {
                infoMenu.Draw(spriteBatch);
            }
        }