public BooleanSlimeTrait(SlimeTraitProcessor processor, bool enabled)  : base(processor)
 {
     Enabled = enabled;
 }
 public SlimeTrait(SlimeTraitProcessor processor)
 {
     Processor = processor;
 }
 public ValuedSlimeTrait(SlimeTraitProcessor processor, T value) : base(processor)
 {
     Value = value;
 }
Example #4
0
 public static void Register(SlimeTraitProcessor processor) => Processors.Add(processor);