Exemple #1
0
 public long topAsUint() {
   return Asserts.numberVariable("position.y").withValue(position.getY().longValue()).atLeast(0L);
 }
Exemple #2
0
 public void shift(float dx, float dy) {
   position.shift(dx, dy, worldDimension);
 }
Exemple #3
0
 public long leftAsUint() {
   return Asserts.numberVariable("position.x").withValue(position.getX().longValue()).atLeast(0L);
 }