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

## Uses of Class
edu.cwru.SimpleRTS.model.unit.Unit

Packages that use Unit
edu.cwru.SimpleRTS.environment |
edu.cwru.SimpleRTS.model |
edu.cwru.SimpleRTS.model.unit |

Uses of Unit in edu.cwru.SimpleRTS.environment

Methods in edu.cwru.SimpleRTS.environment that return Unit
`Unit` | `State.getUnit(int unitId)`
`Unit` | `State.unitAt(int x, int y)`

Methods in edu.cwru.SimpleRTS.environment that return types with arguments of type Unit
`java.util.Map<java.lang.Integer,Unit>` | `State.getUnits()`
`java.util.Map<java.lang.Integer,Unit>` | `State.getUnits(int player)`

Methods in edu.cwru.SimpleRTS.environment with parameters of type Unit
`void` | `State.addUnit(Unit u)`
`void` | `State.StateBuilder.addUnit(Unit u)`
`boolean` | `State.tryProduceUnit(Unit u)`

Uses of Unit in edu.cwru.SimpleRTS.model

Methods in edu.cwru.SimpleRTS.model with parameters of type Unit
`java.util.LinkedList<Action>` | `SimplePlanner.planAttack(Unit actor, Unit target)` Uses `#getDirections(StateView, int, int, int, int, int, boolean)` to get directions to the specified place and `#planMove(Unit, LinkedList)` to follow them.
`java.util.LinkedList<Action>` | `SimplePlanner.planBuild(Unit actor, int targetX, int targetY, UnitTemplate template)`
`java.util.LinkedList<Action>` | `SimplePlanner.planDeposit(Unit actor, Unit target)` Uses `#getDirections(int, int, int, int, int, boolean)` to get directions to the specified place and `#planMove(Unit, LinkedList)` to move almost there.
`java.util.LinkedList<Action>` | `SimplePlanner.planGather(Unit actor, ResourceNode target)` Uses `#getDirections(int, int, int, int, int, boolean)` to get directions to the specified place and `#planMove(Unit, LinkedList)` to move almost there.
`java.util.LinkedList<Action>` | `SimplePlanner.planMove(Unit actor, int x, int y)` Uses `#getDirections(int, int, int, int, int, boolean)` to get directions to the specified place and `#planMove(Unit, LinkedList)` to follow them.
`java.util.LinkedList<Action>` | `SimplePlanner.planProduce(Unit actor, Template template)`

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

Methods in edu.cwru.SimpleRTS.model.unit that return Unit
`Unit` | `UnitTemplate.produceInstance()`

Constructors in edu.cwru.SimpleRTS.model.unit with parameters of type Unit
`Unit.UnitView(Unit unit)`

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