export many layers

- remark : wrong merge code ( dverged on two latptops .. ) possible loss
This commit is contained in:
philippe lhardy
2020-12-19 16:55:10 +01:00
parent b8cb7394cd
commit a70ead877a
6 changed files with 503 additions and 448 deletions

View File

@@ -1,7 +1,13 @@
package org.artisanlogiciel.games.minetest;
/**
* [min,max] range with bounds included.
*/
public class Range {
// included
int min;
// included
int max;
public int getMin() {
@@ -19,6 +25,12 @@ public class Range {
max = -1;
}
public Range(int pMin, int pMax)
{
min = pMin;
max = pMax;
}
public boolean isEmpty()
{
return ( min > max );