예제 #1
0
        public override void Render(DwarfTime time, SpriteBatch batch)
        {
            if (!IsVisible)
            {
                return;
            }
            Rectangle originalRect = Scroller.StartClip(batch);

            foreach (SpellButton button in SpellButtons)
            {
                button.Render(time, batch);
            }
            Scroller.EndClip(originalRect, batch);
            base.Render(time, batch);
        }