Example #1
0
        public void Draw(SpriteBatch spriteBatch, Vector2 Position)
        {
            Texture = Texture2DStorage.GetRoomExteriorSpriteSheet();


            Nullable <Rectangle> sourceRectangle = new Rectangle(0, 0, Texture.Width, Texture.Height);

            destinationRectangle = new Rectangle(0, 0, Texture.Width * 6, Texture.Height * 6);


            spriteBatch.Draw(Texture, destinationRectangle, sourceRectangle, Color.White);
        }