﻿using galaxy.core.habbolib.gameclients;

namespace galaxy.core.habbolib.rooms.chat.commands.moderator.fun
{
    class SuperFastwalkCommand : IChatCommand
    {
        public string PermissionRequired
        {
            get { return "command_super_fastwalk"; }
        }

        public string Parameters
        {
            get { return ""; }
        }

        public string Description
        {
            get { return "Gives you the ability to walk very very fast."; }
        }

        public void Execute(GameClient Session, Room Room, string[] Params)
        {
            RoomUser User = Room.getRoomUserManager().GetRoomUserByHabbo(Session.GetHabbo().Id);
            if (User == null)
                return;

            User.superFastWalking = !User.superFastWalking;

            if (User.fastWalking)
                User.fastWalking = false;

            Session.SendWhisper("Walking mode updated.");
        }
    }
}
