Initial Check-in for Alpha 2.0 source code.

Includes working Telnet server, working command engine and Character code.
This commit is contained in:
Scionwest_cp 2012-02-28 20:11:10 -08:00
parent 224f754514
commit 3d8051c995
28 changed files with 1495 additions and 0 deletions

View file

@ -0,0 +1,30 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace MudEngine.GameScripts
{
public class BaseScript
{
public String Name { get; set; }
public String ID { get; set; }
public String Description { get; set; }
public BaseScript(String name, String description)
{
this.ID = Guid.NewGuid().ToString();
}
public override string ToString()
{
if (String.IsNullOrEmpty(this.Name))
return this.GetType().Name + " without Name";
else
return this.Name;
}
}
}