Commands script folder renamed to BaseCommands. Users creating custom commands are encouraged to create them in a "Commands" or "Custom Commands" folder.
This commit is contained in:
parent
11b2e73f35
commit
32210124e0
8 changed files with 11 additions and 12 deletions
31
MudEngine/WinPC_Engine/GameScripts/BaseCommands/Look.cs
Normal file
31
MudEngine/WinPC_Engine/GameScripts/BaseCommands/Look.cs
Normal file
|
@ -0,0 +1,31 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
using MudEngine.Game;
|
||||
using MudEngine.Game.Characters;
|
||||
using MudEngine.Game.Environment;
|
||||
using MudEngine.Core.Interfaces;
|
||||
|
||||
namespace MudEngine.GameScripts.Commands
|
||||
{
|
||||
public class Look : ICommand
|
||||
{
|
||||
public string Name { get; set; }
|
||||
|
||||
public string Description { get; set; }
|
||||
|
||||
public List<string> Help { get; set; }
|
||||
|
||||
public Look()
|
||||
{
|
||||
this.Name = "Look";
|
||||
}
|
||||
|
||||
public bool Execute(string command, StandardCharacter character)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue