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