Example #1
0
 public override void Load(SharpConfig.Setting setting)
 {
     if (setting.BoolValue)
     {
         trueState.Enter();
     }
     else
     {
         falseState.Enter();
     }
 }
Example #2
0
 public override void Setup(SharpConfig.Setting setting)
 {
     falseState.stateManager.Init();
     setting.BoolValue = trueState.IsActive();
     setting.Comment   = comment;
 }
Example #3
0
 public override void Load(SharpConfig.Setting setting)
 {
     value.Value = setting.BoolValue;
 }
Example #4
0
 public override void Setup(SharpConfig.Setting setting)
 {
     setting.BoolValue = value.Value;
     setting.Comment   = comment;
 }
Example #5
0
 public abstract void Load(SharpConfig.Setting setting);
Example #6
0
 public abstract void Setup(SharpConfig.Setting setting);