SEPIA Documentation
Setup
Eclipse Project Setup
Running Sepia
Adding a Map
Running Resource Collection Agent Example
Manual Control
Your First Agent
Create the Class
Setup the Configuration
Basic Agent API
Actions
Moving Your Units
Collecting Resources
Building Units
Summary
Combat Agents
Setting up the Combat Agent
Attacking the Enemy
Javadoc
edu.cwru.sepia
edu.cwru.sepia.action
edu.cwru.sepia.agent
edu.cwru.sepia.agent.visual
edu.cwru.sepia.agent.visual.editor
edu.cwru.sepia.environment
edu.cwru.sepia.environment.model
edu.cwru.sepia.environment.model.history
edu.cwru.sepia.environment.model.persistence
edu.cwru.sepia.environment.model.persistence.generated
edu.cwru.sepia.environment.model.state
edu.cwru.sepia.experiment
edu.cwru.sepia.start
edu.cwru.sepia.util
edu.cwru.sepia.util.config.xml
matlabcontrol
matlabcontrol.extensions
matlabcontrol.internal
org.json
SEPIA Documentation
Docs
»
Javadoc
»
edu.cwru.sepia.action
»
LocatedAction
View page source
LocatedAction
¶
public class
LocatedAction
extends
Action
¶
A subtype of Action, includes CompoundMove
Constructors
¶
LocatedAction
¶
public
LocatedAction
(
int
unitid
,
ActionType
type
, int
x
, int
y
)
¶
Methods
¶
equals
¶
public boolean
equals
(
Object
other
)
¶
getX
¶
public int
getX
(
)
¶
getY
¶
public int
getY
(
)
¶
hashCode
¶
public int
hashCode
(
)
¶
toString
¶
public
String
toString
(
)
¶