Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
edu.cwru.SimpleRTS.model.resource.ResourceType

Packages that use ResourceType
edu.cwru.SimpleRTS.environment |
edu.cwru.SimpleRTS.Log |
edu.cwru.SimpleRTS.model.resource |
edu.cwru.SimpleRTS.model.unit |

Uses of ResourceType in edu.cwru.SimpleRTS.environment

Methods in edu.cwru.SimpleRTS.environment with parameters of type ResourceType
`void` | `State.depositResources(int player, ResourceType type, int amount)`
`int` | `State.getResourceAmount(int player, ResourceType type)`
`int` | `State.StateView.getResourceAmount(int player, ResourceType type)`
`void` | `State.StateBuilder.setResourceAmount(int player, ResourceType resource, int amount)`

Uses of ResourceType in edu.cwru.SimpleRTS.Log

Methods in edu.cwru.SimpleRTS.Log that return ResourceType
`ResourceType` | `ResourcePickupLog.getResource()`
`ResourceType` | `ResourceDropoffLog.getResource()`

Methods in edu.cwru.SimpleRTS.Log with parameters of type ResourceType
`void` | `EventLogger.recordDropoffResource(int depositerid, int depositplaceid, int controller, ResourceType type, int amount)`
`void` | `EventLogger.recordPickupResource(int gathererid, int controller, ResourceType type, int amount, int nodeid, ResourceNode.Type nodetype)`

Constructors in edu.cwru.SimpleRTS.Log with parameters of type ResourceType
`ResourceDropoffLog(int gathererid, int controller, int amountpickedup, ResourceType resource, int depotid)`
`ResourcePickupLog(int gathererid, int controller, ResourceType resource, int amountpickedup, int nodeid, ResourceNode.Type nodetype)`

Uses of ResourceType in edu.cwru.SimpleRTS.model.resource

Methods in edu.cwru.SimpleRTS.model.resource that return ResourceType
`ResourceType` | `ResourceNode.getResourceType()`
`static ResourceType` | `ResourceNode.Type.getResourceType(ResourceNode.Type t)`
`static ResourceType` | `ResourceType.valueOf(java.lang.String name)` Returns the enum constant of this type with the specified name.
`static ResourceType[]` | `ResourceType.values()` Returns an array containing the constants of this enum type, in the order they are declared.

Uses of ResourceType in edu.cwru.SimpleRTS.model.unit

Methods in edu.cwru.SimpleRTS.model.unit that return ResourceType
`ResourceType` | `Unit.UnitView.getCargoType()`
`ResourceType` | `Unit.getCurrentCargoType()`

Methods in edu.cwru.SimpleRTS.model.unit with parameters of type ResourceType
`boolean` | `Unit.pickUpResource(ResourceType type, int amount)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES