Game-Design / Sprint2 / Sprint2_actual / Items / BlueRingItem.cs
BlueRingItem.cs
Raw
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 BlueRingItem : IItem
    {

        private Game1 game;
        private ISprite BlueRingSprite;

        private int xPos;
        private int yPos;

        public BlueRingItem(Game1 game, int xPos, int yPos)
        {
            this.game = game;
            this.BlueRingSprite = ItemSpriteFactory.Instance.CreateBlueRingItem(xPos, yPos);
            this.xPos = xPos;
            this.yPos = yPos;

        }

        public void DrawItem()
        {
            BlueRingSprite.draw();

        }

        public void UpdateItem(GameTime gameTime)
        {
            //BlueRingSprite.update(gameTime);

        }
    }
}