|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.jadv.lib.events.JAdvEvent | +--de.jadv.lib.events.fromclient.PlayerMoveEvent
Player wants to move
Field Summary | |
(package private) byte |
direction
|
Constructor Summary | |
PlayerMoveEvent(byte direction)
Constructor for PlayerMoveEvent. |
|
PlayerMoveEvent(java.nio.ByteBuffer buf)
|
Method Summary | |
java.nio.ByteBuffer |
encodeEvent()
|
byte |
getDirection()
|
Methods inherited from class de.jadv.lib.events.JAdvEvent |
decodeEvent, encodeEvent, getCreateTime, isNewer, isOlder, readBackground, readString, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
byte direction
Constructor Detail |
public PlayerMoveEvent(byte direction)
public PlayerMoveEvent(java.nio.ByteBuffer buf) throws java.io.IOException
Method Detail |
public java.nio.ByteBuffer encodeEvent() throws java.io.IOException
encodeEvent
in class JAdvEvent
java.io.IOException
public byte getDirection()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |