export many layers
- remark : wrong merge code ( dverged on two latptops .. ) possible loss
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user