Ejemplo n.º 1
0
 public CairoGrid(int width, int height, Func <CairoPoint, bool> isInside, PointyHexPoint offset) :
     this(width, height, isInside, x => x.Translate(offset), x => x.Translate(offset.Negate()))
 {
 }
Ejemplo n.º 2
0
 public PointyHexPoint MoveBackBy(PointyHexPoint translation)
 {
     return(Translate(translation.Negate()));
 }