public class Sessions extends Object
PlayerSession
instance. It will
create a new instance, initialize it and set the GameRoom
reference
if necessary.Constructor and Description |
---|
Sessions() |
Modifier and Type | Method and Description |
---|---|
static PlayerSession |
newPlayerSession(GameRoom gameRoom,
Player player) |
static Session |
newSession() |
public static Session newSession()
public static PlayerSession newPlayerSession(GameRoom gameRoom, Player player)
Copyright © 2013. All Rights Reserved.