Example #1
0
 public override void Update()
 {
     base.Update();
     GridSwitch.Update();
     GridEditSwitch.Update();
     GridTopBottomSwitch.Update();
 }
Example #2
0
        public override void Draw(SpriteBatch spriteBatch)
        {
            base.Draw(spriteBatch);

            GridSwitch.Draw(spriteBatch);
            GridEditSwitch.Draw(spriteBatch);
            GridTopBottomSwitch.Draw(spriteBatch);

            spriteBatch.DrawString(parent.UIFontSmall, GridSwitchLabel, Pos + new Vector2(15, 20), parent.TextColor);
            spriteBatch.DrawString(parent.UIFontSmall, GridEditSwitchLabel, Pos + new Vector2(15, 45), parent.TextColor);
            spriteBatch.DrawString(parent.UIFontSmall, GridTopBottomSwitchLabel, Pos + new Vector2(15, 70), parent.TextColor);
        }