コード例 #1
0
ファイル: Clothing.cs プロジェクト: Reddit-Mud/RMUD
 //public ClothingLayer Layer = ClothingLayer.Outer;
 //public ClothingBodyPart BodyPart = ClothingBodyPart.Torso;
 //public Clothing() : base() { }
 //public Clothing(String Short, String Long) : base(Short, Long) { }
 public static RMUD.MudObject Create(String Short, ClothingLayer Layer, ClothingBodyPart BodyPart)
 {
     var r = new RMUD.MudObject(Short, "This is a generic " + Short + ". Layer: " + Layer + " BodyPart: " + BodyPart);
     r.SetProperty("clothing layer", Layer);
     r.SetProperty("clothing part", BodyPart);
     r.SetProperty("wearable?", true);
     return r;
 }