Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void Draw(SpriteBatch spriteBatch)
- {
- Rectangle sourceRectangle = new Rectangle(0, 0, Texture.Width, Texture.Height);
- Vector2 origin = new Vector2(Texture.Width / 2, Texture.Height / 2);
- spriteBatch.Draw(Texture, Position, sourceRectangle, Color, Angle, origin, Size, SpriteEffects.None, 0f);
- }
Add Comment
Please, Sign In to add comment