com.esotericsoftware.kryonet
Class Common
java.lang.Object
com.esotericsoftware.kryonet.Common
public class Common
- extends java.lang.Object
Method Summary |
static void |
register(EndPoint endPoint)
|
static void |
registerMessages(com.esotericsoftware.kryo.Kryo kryo)
Registers all messages used in the game with JGN which optimizes them |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_IP
public static final java.lang.String DEFAULT_IP
- See Also:
- Constant Field Values
DEFAULT_PORT_TCP
public static final int DEFAULT_PORT_TCP
- See Also:
- Constant Field Values
DEFAULT_PORT_UDP
public static final int DEFAULT_PORT_UDP
- See Also:
- Constant Field Values
BALL
public static final short BALL
- See Also:
- Constant Field Values
port
public static final int port
- See Also:
- Constant Field Values
Common
public Common()
registerMessages
public static void registerMessages(com.esotericsoftware.kryo.Kryo kryo)
- Registers all messages used in the game with JGN which optimizes them
register
public static void register(EndPoint endPoint)