|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcz.cuni.pogamut.MessageObjects.MessageObject
cz.cuni.pogamut.MessageObjects.Mover
public class Mover
A "mover".
These can be doors, elevators, or any other chunk of architecture that can move.
They generally need to be either run into, or activated by shooting or pressing a button.
We are working on ways to provide bots with more of the information they need
to deal with movers appropriately.
Can be delta message
| Field Summary | |
|---|---|
java.lang.String |
cls
Class - Class of the mover. |
boolean |
damageTrig
DamageTrig - true if the mover needs to be shot to activated. |
boolean |
isMoving
isMoving - does mover move right now? |
Triple |
location
Location - an absolute location |
boolean |
reachable
Reachable - true if the bot can run here mover, false otherwise |
Triple |
velocity
velovity - velocity vector |
| Fields inherited from class cz.cuni.pogamut.MessageObjects.MessageObject |
|---|
ID, type, types, UnrealID, visible |
| Constructor Summary | |
|---|---|
Mover()
|
|
Mover(java.lang.String UnrealID,
int ID,
boolean visible,
Triple location,
boolean reachable,
boolean damageTrig,
java.lang.String cls)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
clone object - for hard copying |
boolean |
hasID()
|
java.lang.String |
toString()
|
| Methods inherited from class cz.cuni.pogamut.MessageObjects.MessageObject |
|---|
diff, equals, getID, getType, getUnrealID, getVisibility, isVisible, setID, setType, setUnrealID, setVisible, update |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public Triple location
public boolean reachable
public boolean damageTrig
public java.lang.String cls
public boolean isMoving
public Triple velocity
| Constructor Detail |
|---|
public Mover()
public Mover(java.lang.String UnrealID,
int ID,
boolean visible,
Triple location,
boolean reachable,
boolean damageTrig,
java.lang.String cls)
| Method Detail |
|---|
public java.lang.Object clone()
MessageObject
clone in class MessageObjectpublic java.lang.String toString()
toString in class MessageObjectpublic boolean hasID()
hasID in class MessageObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||