public class Sessions extends Object implements SessionFactory
PlayerSession instance. It will
create a new instance, initialize it and set the GameRoom reference
if necessary.| Modifier and Type | Field and Description |
|---|---|
static SessionFactory |
INSTANCE |
| Constructor and Description |
|---|
Sessions() |
public static final SessionFactory INSTANCE
public Session newSession()
newSession in interface SessionFactorypublic PlayerSession newPlayerSession(GameRoom gameRoom, Player player)
newPlayerSession in interface SessionFactoryCopyright © 2013. All Rights Reserved.