|
|||||||||||
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.AttackEvent
Event to tell the server, that the player wants to attack somebody / in some direction
Field Summary | |
byte |
_direction
|
java.lang.String |
_object
|
Constructor Summary | |
AttackEvent(byte Direction)
|
|
AttackEvent(java.nio.ByteBuffer buf)
|
|
AttackEvent(java.lang.String ObjectID)
Creates a new instance of UseObject |
Method Summary | |
java.nio.ByteBuffer |
encodeEvent()
|
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 |
public java.lang.String _object
public byte _direction
Constructor Detail |
public AttackEvent(java.lang.String ObjectID)
public AttackEvent(byte Direction)
public AttackEvent(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
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |