Exemplo n.º 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);
     }
 }
Exemplo n.º 2
0
 public RlLogic(RlGameContext cx)
 {
     this.cx = cx;
 }
Exemplo n.º 3
0
 internal void injectCtx(RlGameContext gameCtx)
 {
     this.gameCtx = gameCtx;
 }
Exemplo n.º 4
0
 public RlRuleStorage(RlGameContext ctx)
 {
     this.rules   = new List <RlRule>();
     this.gameCtx = ctx;
 }