public class StairsPosition extends Object implements Comparable<StairsPosition>
Constructor and Description |
---|
StairsPosition(double value,
boolean destroy) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(StairsPosition other) |
double |
getValue() |
boolean |
isDestroy() |
String |
toString() |
public double getValue()
public int compareTo(StairsPosition other)
compareTo
in interface Comparable<StairsPosition>
public boolean isDestroy()
Copyright © 2016. All Rights Reserved.