示例#1
0
文件: RlRule.cs 项目: toyboot4e/Rot
 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);
     }
 }
示例#2
0
 public RlLogic(RlGameContext cx)
 {
     this.cx = cx;
 }
示例#3
0
文件: RlRule.cs 项目: toyboot4e/Rot
 internal void injectCtx(RlGameContext gameCtx)
 {
     this.gameCtx = gameCtx;
 }
示例#4
0
文件: RlRule.cs 项目: toyboot4e/Rot
 public RlRuleStorage(RlGameContext ctx)
 {
     this.rules   = new List <RlRule>();
     this.gameCtx = ctx;
 }