Exemplo n.º 1
0
 public RlViewServices(ControlContext ctrlCtx, RlGameContext gameCtx, PosUtil posUtil)
 {
     this.gameCtx  = gameCtx;
     this.cradle   = ctrlCtx.cradle;
     this.posUtil  = posUtil;
     this.input    = ctrlCtx.input;
     this.viewUtil = new RlEventViewUtils(this.posUtil, this.input);
 }
Exemplo n.º 2
0
 internal void setCradle(Cradle cradle)
 {
     this.cradle = cradle;
 }
Exemplo n.º 3
0
 internal ControlContext(VInput input)
 {
     this.input  = input;
     this.cradle = null;
 }