Exemplo n.º 1
0
 public PointyTriGrid(int width, int height, Func <PointyTriPoint, bool> isInside, FlatHexPoint offset) :
     this(width, height, isInside, x => x.Translate(offset), x => x.Translate(offset.Negate()))
 {
 }
Exemplo n.º 2
0
 public FlatHexPoint MoveBackBy(FlatHexPoint translation)
 {
     return(Translate(translation.Negate()));
 }