com.springrts.ai.oo
Class Resource
java.lang.Object
com.springrts.ai.oo.Resource
- All Implemented Interfaces:
- Comparable<Resource>
public class Resource
- extends Object
- implements Comparable<Resource>
getResourceId
public int getResourceId()
compareTo
public int compareTo(Resource other)
- Specified by:
compareTo
in interface Comparable<Resource>
equals
public boolean equals(Object otherObject)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
getName
public String getName()
getOptimum
public float getOptimum()