Uses of Class
edu.wisc.game.sql.PlayerInfo
-
Packages that use PlayerInfo Package Description edu.wisc.game.pseudo edu.wisc.game.rest The RESTful web APIedu.wisc.game.sql Persistent data structuresedu.wisc.game.web Back-end classes for some auxiliary JSP pages -
-
Uses of PlayerInfo in edu.wisc.game.pseudo
Methods in edu.wisc.game.pseudo that return PlayerInfo Modifier and Type Method Description static PlayerInfo
Pseudo. mkBot(PlayerInfo p)
Creates a bot player.Methods in edu.wisc.game.pseudo with parameters of type PlayerInfo Modifier and Type Method Description static void
Pseudo. addTask(PlayerInfo botPlayer, EpisodeInfo epi, int expectedAttemptCnt)
static PlayerInfo
Pseudo. mkBot(PlayerInfo p)
Creates a bot player.Constructors in edu.wisc.game.pseudo with parameters of type PlayerInfo Constructor Description Pseudo(PlayerInfo _p, EpisodeInfo _epi, int _expectedAttemptCnt)
-
Uses of PlayerInfo in edu.wisc.game.rest
Methods in edu.wisc.game.rest that return PlayerInfo Modifier and Type Method Description static PlayerInfo
PlayerResponse. findPlayerInfo(javax.persistence.EntityManager em, String pid)
Find the matching record for a player, in the cache of the database.PlayerInfo
PlayerResponse. getPlayerInfo()
Methods in edu.wisc.game.rest that return types with arguments of type PlayerInfo Modifier and Type Method Description static HashMap<String,PlayerInfo>
PlayerResponse. getAllCachedPlayers()
-
Uses of PlayerInfo in edu.wisc.game.sql
Methods in edu.wisc.game.sql that return PlayerInfo Modifier and Type Method Description PlayerInfo
EpisodeInfo. getPlayer()
PlayerInfo
PlayerInfo. getPlayerForRole(int mover)
The PlayerInfo of the player with the specified role.PlayerInfo
PlayerInfo. xgetPartner()
Methods in edu.wisc.game.sql with parameters of type PlayerInfo Modifier and Type Method Description static boolean
Pairing. ensurePairingNow(PlayerInfo p)
This is called at the beginning of each episode (on a /newEpisode API call), to ensure that if this is a two-player game, the player is paired, if at all possible.void
PlayerInfo. linkToPartner(PlayerInfo _partner, int myRole)
Sets links in both directions, and saves both objectsstatic void
Pairing. newPlayerRegistration(PlayerInfo p)
Called on /newPlayer (from PlayerResponse()), to check if the new (or restored) player needs to be paired.void
EpisodeInfo. setPlayer(PlayerInfo _player)
static int
Pairing. whoWillStartEpisode(PlayerInfo p, int seriesNo, int epiNo)
static int
Pairing. whoWillStartSeries(PlayerInfo p, int seriesNo)
Which player starts the specified series? -
Uses of PlayerInfo in edu.wisc.game.web
Fields in edu.wisc.game.web with type parameters of type PlayerInfo Modifier and Type Field Description protected HashMap<String,Vector<PlayerInfo>>
LaunchRulesBase. allPlayers
All PlayerInfo objects associated with this repeat user
-