Exemple #1
0
 public void replCtx(RlGameContext ctx)
 {
     this.gameCtx = ctx;
     for (int i = 0; i > this.rules.Count; i++)
     {
         var rule = this.rules[i];
         rule.injectCtx(ctx);
     }
 }
Exemple #2
0
 public RlLogic(RlGameContext cx)
 {
     this.cx = cx;
 }
Exemple #3
0
 internal void injectCtx(RlGameContext gameCtx)
 {
     this.gameCtx = gameCtx;
 }
Exemple #4
0
 public RlRuleStorage(RlGameContext ctx)
 {
     this.rules   = new List <RlRule>();
     this.gameCtx = ctx;
 }