public static Characteristic Create(Characteristic.Type type) { switch (type) { case Characteristic.Type.Poison: { return(new PoisonCharacteristic(type)); } } return(null); }
public Characteristic(Characteristic.Type type) { CharacteristicType = type; }