## Uses of Class
edu.cwru.SimpleRTS.environment.State.StateView

Packages that use State.StateView
edu.cwru.SimpleRTS.agent
edu.cwru.SimpleRTS.agent.visual
edu.cwru.SimpleRTS.environment
edu.cwru.SimpleRTS.model
edu.cwru.SimpleRTS.model.prerequisite
edu.cwru.SimpleRTS.model.unit

Uses of State.StateView in edu.cwru.SimpleRTS.agent

Methods in edu.cwru.SimpleRTS.agent with parameters of type State.StateView
`void` `Agent.acceptInitialState(State.StateView newstate, java.util.concurrent.CountDownLatch onofflatch)` Accept the first state of an episode and begin calculating a response for it
`void` `Agent.acceptMiddleState(State.StateView newstate, java.util.concurrent.CountDownLatch onofflatch)` Accept a state and begin calculating a response for it
`void` `Agent.acceptTerminalState(State.StateView newstate, java.util.concurrent.CountDownLatch onofflatch)` Accept the final state of an episode
`com.google.common.collect.ImmutableMap.Builder<java.lang.Integer,Action>` `ScriptedGoalAgent.act(State.StateView state)`
`void` `BasicGatheringCoordinator.assignActions(State.StateView state, edu.cwru.SimpleRTS.agent.ScriptedGoalAgent.RelevantStateView relstate, java.util.Map<java.lang.Integer,Action> actions)`
`void` `BusynessCoordinator.checkForIdleness(State.StateView state)`
`void` `BasicGatheringCoordinator.checkWorkersForIdleness(State.StateView state)`
`void` `PrimativeAttackCoordinator.coordinate(State.StateView state, java.util.Map<java.lang.Integer,Action> actions)` Append the relevant actions to the action set.
`void` `BusynessCoordinator.initialize(State.StateView state)`
`void` `BasicGatheringCoordinator.initialize(State.StateView state)`
`com.google.common.collect.ImmutableMap.Builder<java.lang.Integer,Action>` `SimpleAgent2.initialStep(State.StateView newstate)`
`com.google.common.collect.ImmutableMap.Builder<java.lang.Integer,Action>` `SimpleAgent1.initialStep(State.StateView newstate)`
`com.google.common.collect.ImmutableMap.Builder<java.lang.Integer,Action>` `ScriptedGoalAgent.initialStep(State.StateView newstate)`
`com.google.common.collect.ImmutableMap.Builder<java.lang.Integer,Action>` `MyAgent.initialStep(State.StateView newstate)`
`com.google.common.collect.ImmutableMap.Builder<java.lang.Integer,Action>` `CombatAgent.initialStep(State.StateView newstate)` Start a new trial.
`abstract com.google.common.collect.ImmutableMap.Builder<java.lang.Integer,Action>` `Agent.initialStep(State.StateView newstate)` Accept the initial state of an episode
`com.google.common.collect.ImmutableMap.Builder<java.lang.Integer,Action>` `SimpleAgent2.middleStep(State.StateView newState)`
`com.google.common.collect.ImmutableMap.Builder<java.lang.Integer,Action>` `SimpleAgent1.middleStep(State.StateView newState)`
`com.google.common.collect.ImmutableMap.Builder<java.lang.Integer,Action>` `ScriptedGoalAgent.middleStep(State.StateView newstate)`
`com.google.common.collect.ImmutableMap.Builder<java.lang.Integer,Action>` `MyAgent.middleStep(State.StateView newState)`
`com.google.common.collect.ImmutableMap.Builder<java.lang.Integer,Action>` `CombatAgent.middleStep(State.StateView newstate)`
`abstract com.google.common.collect.ImmutableMap.Builder<java.lang.Integer,Action>` `Agent.middleStep(State.StateView newstate)` Accept an intermediate state of an episode
`void` `SimpleAgent2.terminalStep(State.StateView newstate)`
`void` `SimpleAgent1.terminalStep(State.StateView newstate)`
`void` `ScriptedGoalAgent.terminalStep(State.StateView newstate)`
`void` `MyAgent.terminalStep(State.StateView newstate)`
`void` `CombatAgent.terminalStep(State.StateView newstate)`
`abstract void` `Agent.terminalStep(State.StateView newstate)` Receive notification that the episode has terminated.
`boolean` `ScriptedGoalAgent.Goal.tryExecute(State.StateView state, edu.cwru.SimpleRTS.agent.ScriptedGoalAgent.RelevantStateView relstate, java.util.Map<java.lang.Integer,Action> actions)` See if those actions can be done.

Constructors in edu.cwru.SimpleRTS.agent with parameters of type State.StateView
`ScriptedGoalAgent.Goal(java.lang.String command, State.StateView state, ScriptedGoalAgent agent)`

Uses of State.StateView in edu.cwru.SimpleRTS.agent.visual

Methods in edu.cwru.SimpleRTS.agent.visual with parameters of type State.StateView
`com.google.common.collect.ImmutableMap.Builder<java.lang.Integer,Action>` `VisualAgent.initialStep(State.StateView newstate)`
`com.google.common.collect.ImmutableMap.Builder<java.lang.Integer,Action>` `VisualAgent.middleStep(State.StateView newstate)`
`void` `VisualAgent.terminalStep(State.StateView newstate)`
`void` `GameScreen.updateState(State.StateView state)`

Constructors in edu.cwru.SimpleRTS.agent.visual with parameters of type State.StateView
`VisualAgent(int playernum, State.StateView initState)`

Uses of State.StateView in edu.cwru.SimpleRTS.environment

Methods in edu.cwru.SimpleRTS.environment that return State.StateView
`State.StateView` `Environment.getState()`
`State.StateView` `State.getView()`

Uses of State.StateView in edu.cwru.SimpleRTS.model

Methods in edu.cwru.SimpleRTS.model that return State.StateView
`State.StateView` `SimpleModel.getState()`
`State.StateView` `Model.getState()`

Methods in edu.cwru.SimpleRTS.model with parameters of type State.StateView
`boolean` `Template.canProduce(State.StateView state)`
`boolean` `Template.TemplateView.canProduce(State.StateView state)`
`static java.util.LinkedList<Direction>` `SimplePlanner.getDirections(State.StateView state, int startingx, int startingy, int endingx, int endingy, int tolerancedistance, boolean cancollideonfinal)` Uses A* to calculate the directions to arrive at the specified location.

Uses of State.StateView in edu.cwru.SimpleRTS.model.prerequisite

Methods in edu.cwru.SimpleRTS.model.prerequisite with parameters of type State.StateView
`boolean` `UpgradePrerequisite.isFulfilled(State.StateView state)`
`boolean` `PrerequisiteHolder.isFulfilled(State.StateView state)`
`boolean` `Prerequisite.isFulfilled(State.StateView state)`
`boolean` `BuildingPrerequisite.isFulfilled(State.StateView state)`

Uses of State.StateView in edu.cwru.SimpleRTS.model.unit

Methods in edu.cwru.SimpleRTS.model.unit with parameters of type State.StateView
`void` `Unit.incrementProduction(Template toproduce, State.StateView state)` Increment production amount