Beispiel #1
0
 protected override void DrawSelf(GameTime gameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch)
 {
     base.DrawSelf(gameTime, spriteBatch);
     spriteBatch.DrawRectangle(GlobalPosition + Transform, ContentSize, Color.White, 1);
 }