示例#1
0
 public static Characteristic Create(Characteristic.Type type)
 {
     switch (type)
     {
     case Characteristic.Type.Poison:
     {
         return(new PoisonCharacteristic(type));
     }
     }
     return(null);
 }
示例#2
0
 public Characteristic(Characteristic.Type type)
 {
     CharacteristicType = type;
 }