예제 #1
0
파일: Cradle.cs 프로젝트: toyboot4e/Rot
        public static ControlContext create(VInput input)
        {
            var self = new ControlContext(input);

            self.setCradle(new Cradle(self));
            return(self);
        }
예제 #2
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);
 }
예제 #3
0
파일: Cradle.cs 프로젝트: toyboot4e/Rot
 internal ControlContext(VInput input)
 {
     this.input  = input;
     this.cradle = null;
 }
예제 #4
0
 public RlEventViewUtils(PosUtil p, VInput input)
 {
     this.posUtil = p;
     this.input   = input;
 }