atavism.server.plugins
Class WorldManagerClient.MobPathReqMessage
java.lang.Object
atavism.msgsys.Message
atavism.msgsys.SubjectMessage
atavism.server.plugins.WorldManagerClient.MobPathMessageBaseClass
atavism.server.plugins.WorldManagerClient.MobPathReqMessage
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- WorldManagerClient
public static class WorldManagerClient.MobPathReqMessage
- extends WorldManagerClient.MobPathMessageBaseClass
This message is constructed by the mobserver, and sent to the
world manager and the clients. It provides the information
necessary for any of these guys to interpolate a mob path.
The message attributes are:
o The mob oid
o The kind of interpolation, either "linear" or "spline"
o A string with one character for each path segment, saying
if the path segment is over terrain or not.
o I sequence of path points, one more than the length of the
string in characters.
- Author:
- stryker
- See Also:
- Serialized Form
Methods inherited from class atavism.server.plugins.WorldManagerClient.MobPathMessageBaseClass |
getInterpKind, getPathPoints, getPositionAtTime, getSpeed, getStartTime, getTerrainString, setInterpKind, setPathPoints, setSpeed, setStartTime, setTerrainString, toBuffer, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WorldManagerClient.MobPathReqMessage
public WorldManagerClient.MobPathReqMessage()
WorldManagerClient.MobPathReqMessage
public WorldManagerClient.MobPathReqMessage(OID oid,
long startTime,
java.lang.String interpKind,
float speed,
java.lang.String terrainString,
java.util.List<Point> pathPoints)
WorldManagerClient.MobPathReqMessage
public WorldManagerClient.MobPathReqMessage(OID oid)
WorldManagerClient.MobPathReqMessage
public WorldManagerClient.MobPathReqMessage(OID oid,
java.util.List<Point> pathPoints)
getMobPathMsgType
protected MessageType getMobPathMsgType()
- Specified by:
getMobPathMsgType
in class WorldManagerClient.MobPathMessageBaseClass
getMobPathMsgTypeTitle
protected java.lang.String getMobPathMsgTypeTitle()
- Specified by:
getMobPathMsgTypeTitle
in class WorldManagerClient.MobPathMessageBaseClass