Class NetworkTeleport
java.lang.Object
zombie.characters.NetworkTeleport
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic booleanstatic booleanfloat -
Constructor Summary
ConstructorsConstructorDescriptionNetworkTeleport(IsoGameCharacter chr, NetworkTeleport.Type type, float x, float y, byte z, float _duration) -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(int playerIndex) voidstop(int playerIndex) static booleanteleport(IsoGameCharacter chr, NetworkTeleport.Type type, float x, float y, byte z, float _duration) static booleanteleport(IsoGameCharacter chr, PlayerPacket packet, float _duration) static voidupdate(IsoGameCharacter chr, PlayerPacket packet)
-
Field Details
-
enable
public static boolean enable -
enableInstantTeleport
public static boolean enableInstantTeleport -
ndirection
public float ndirection
-
-
Constructor Details
-
NetworkTeleport
public NetworkTeleport(IsoGameCharacter chr, NetworkTeleport.Type type, float x, float y, byte z, float _duration)
-
-
Method Details
-
process
public void process(int playerIndex) -
stop
public void stop(int playerIndex) -
teleport
public static boolean teleport(IsoGameCharacter chr, NetworkTeleport.Type type, float x, float y, byte z, float _duration) -
teleport
-
update
-