com.springrts.ai.oo
Class Economy

java.lang.Object
  extended by com.springrts.ai.oo.Economy
All Implemented Interfaces:
Comparable<Economy>

public class Economy
extends Object
implements Comparable<Economy>


Method Summary
 int compareTo(Economy other)
           
 boolean equals(Object otherObject)
           
 float getCurrent(Resource c_resourceId)
           
 float getIncome(Resource c_resourceId)
           
 float getStorage(Resource c_resourceId)
           
 float getUsage(Resource c_resourceId)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

compareTo

public int compareTo(Economy other)
Specified by:
compareTo in interface Comparable<Economy>

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

getCurrent

public float getCurrent(Resource c_resourceId)

getIncome

public float getIncome(Resource c_resourceId)

getUsage

public float getUsage(Resource c_resourceId)

getStorage

public float getStorage(Resource c_resourceId)