Game-Design / Sprint3 / Link State Files / ILinkState.cs
ILinkState.cs
Raw
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;

namespace Sprint2_actual.StateFiles
{
    public interface ILinkState
    {
        void MoveLeft();
        void MoveRight();
        void MoveUp();
        void MoveDown();
        void Idle();
        void Attack();
        void UseItem();
        void Update();
        void TakeDamage();
        //void Draw();
        //Removed draw method as that is handled by the Link player class, not the state
        //Removed the Game1 game parameters from move, useItem, and attack; the game object is needed, the Link player class has one
        //Added multiple move methods in order to have more state transitions
        //Removed Draw() as the Link player class already has a draw method, and will be more useful there
    }

}