using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Content; using System; using System.Collections.Generic; using System.Text; namespace Sprint2_actual { class MagicalShieldItem : IItem { private Game1 game; private ISprite MagicalShieldSprite; private int xPos; private int yPos; public MagicalShieldItem(Game1 game, int xPos, int yPos) { this.game = game; this.MagicalShieldSprite = ItemSpriteFactory.Instance.CreateMagicalShieldItem(xPos, yPos); this.xPos = xPos; this.yPos = yPos; } public void DrawItem() { MagicalShieldSprite.draw(); } public void UpdateItem(GameTime gameTime) { //MagicalShieldSprite.update(gameTime); } } }