Ejemplo n.º 1
0
 public ZertzGameScene()
 {
     this.zcr  = new ZertzCupRenderer(rc, 0x100);
     this.game = new ZertzGame(out hls);
     this.game.RegisterActionHandler(this);
     this.boardR = new ZertzBoardRenderer(this.game.Board.Width, this.game.Board.Height);
     si          = new StateIndicator(800, 200, 16.0f, this.game.Board.VisualRepresentation, this.game.Board.TextureBounds, this.game.Board.VisualFactor, new PointF[] { new PointF(1.0f / 12.0f, 0.5f), new PointF(2.0f / 12.0f, 0.33f), new PointF(2.0f / 12.0f, 0.67f), new PointF(3.0f / 12.0f, 0.33f), new PointF(3.0f / 12.0f, 0.67f), new PointF(4.0f / 12.0f, 0.5f), new PointF(5.0f / 12.0f, 0.5f) });
 }
Ejemplo n.º 2
0
 public ZertzGameScene()
 {
     this.zcr = new ZertzCupRenderer(rc,0x100);
     this.game = new ZertzGame(out hls);
     this.game.RegisterActionHandler(this);
     this.boardR = new ZertzBoardRenderer(this.game.Board.Width,this.game.Board.Height);
     si = new StateIndicator(800,200,16.0f,this.game.Board.VisualRepresentation,this.game.Board.TextureBounds,this.game.Board.VisualFactor,new PointF[] {new PointF(1.0f/12.0f,0.5f),new PointF(2.0f/12.0f,0.33f),new PointF(2.0f/12.0f,0.67f),new PointF(3.0f/12.0f,0.33f),new PointF(3.0f/12.0f,0.67f),new PointF(4.0f/12.0f,0.5f),new PointF(5.0f/12.0f,0.5f)});
 }