Game-Design / Sprint3 / Commands / LinkMoveDownCommand.cs
LinkMoveDownCommand.cs
Raw
using System;
using System.Collections.Generic;
using System.Text;

namespace Sprint2_actual.Commands
{
    class LinkMoveDownCommand:ICommand
    {
        private Game1 game1;
        public LinkMoveDownCommand(Game1 game)
        {
            this.game1 = game;
        }
        public void Execute()
        {
            game1.Player.MoveDown();
        }
    }
}