Example #1
0
 public ZertzGame(out HexLocation[] hls)
 {
     //this.players = new IPlayer[] {playerA,playerB};
     this.board        = ZertzBoard.OffsetBoard(out hls);
     this.playersPools = new ZertzBallContainer[] { ZertzBallContainer.Empty(), ZertzBallContainer.Empty() };
     this.turn         = 0x00;
     this.zmc          = new ZertzMoveCreator(this);
 }
Example #2
0
 public ZertzGame(out HexLocation[] hls)
 {
     //this.players = new IPlayer[] {playerA,playerB};
     this.board = ZertzBoard.OffsetBoard(out hls);
     this.playersPools = new ZertzBallContainer[] {ZertzBallContainer.Empty(),ZertzBallContainer.Empty()};
     this.turn = 0x00;
     this.zmc = new ZertzMoveCreator(this);
 }
Example #3
0
 protected ZertzMoveState(ZertzMoveCreator creator)
 {
     this.creator = creator;
 }
Example #4
0
 public PlacRem2ZertzMoveState(ZertzMoveCreator creator)
     : base(creator)
 {
 }
Example #5
0
 public StartZertzMoveState(ZertzMoveCreator creator)
     : base(creator)
 {
 }
Example #6
0
 public FinishZertzMoveState(ZertzMoveCreator creator)
     : base(creator)
 {
 }
Example #7
0
 public PlacRem1ZertzMoveState(ZertzMoveCreator creator, ZertzBallType ball, ZertzBallContainerType source)
     : base(creator)
 {
     this.ball = ball;
     this.source = source;
 }
Example #8
0
 public CaptureLandZertzMoveState(ZertzMoveCreator creator)
     : base(creator)
 {
 }
Example #9
0
 public CaptureZertzMoveState(ZertzMoveCreator creator, HexLocation hopLocation)
     : base(creator)
 {
     this.hopLocation = hopLocation;
 }
Example #10
0
 protected ZertzMoveState(ZertzMoveCreator creator)
 {
     this.creator = creator;
 }
Example #11
0
 public Capture2ZertzMoveState(ZertzMoveCreator creator, HexLocation hopLocation)
     : base(creator,hopLocation)
 {
 }
Example #12
0
 public CaptureLandZertzMoveState(ZertzMoveCreator creator) : base(creator)
 {
 }
Example #13
0
 public FinishZertzMoveState(ZertzMoveCreator creator) : base(creator)
 {
 }
Example #14
0
 public Capture2ZertzMoveState(ZertzMoveCreator creator, HexLocation hopLocation) : base(creator, hopLocation)
 {
 }
Example #15
0
 public CaptureZertzMoveState(ZertzMoveCreator creator, HexLocation hopLocation) : base(creator)
 {
     this.hopLocation = hopLocation;
 }
Example #16
0
 public PlacRem2ZertzMoveState(ZertzMoveCreator creator) : base(creator)
 {
 }
Example #17
0
 public PlacRem1ZertzMoveState(ZertzMoveCreator creator, ZertzBallType ball, ZertzBallContainerType source) : base(creator)
 {
     this.ball   = ball;
     this.source = source;
 }
Example #18
0
 public StartZertzMoveState(ZertzMoveCreator creator) : base(creator)
 {
 }