Exemple #1
0
        public virtual void DrawStorage()
        {
            var spriteBatch = GraphicsService.Instance;

            spriteBatch.Begin();
            if (MouseStorage != null)
            {
                var mouse_pos = Mouse.GetState().Position;
                GraphicsService.DrawScreen(((RenderComponent)MouseStorage).Texture, new Rectangle(mouse_pos, new Point(60, 60)), Color.White, 0, Vector2.Zero);
            }
            spriteBatch.End();
        }