|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectnet.barkerjr.gameserver.Players
public class Players
Contains the players in the server
| Field Summary | |
|---|---|
Calendar |
updated
The time the players were updated |
| Constructor Summary | |
|---|---|
Players()
Create a new collection of players |
|
Players(int capacity)
Create a new collection of players |
|
| Method Summary | |
|---|---|
Player |
get(int index)
Fetches or creates the player for the given index |
Collection<Player> |
getPlayers()
Fetches all of the players |
String |
getUpdated()
The time the players were last updated |
Collection<Player> |
values()
Deprecated. since 2010-03-23, use { getPlayers() |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Calendar updated
| Constructor Detail |
|---|
public Players()
public Players(int capacity)
capacity - the number of players to expect| Method Detail |
|---|
public String getUpdated()
public Player get(int index)
index - the player to fetch
@Deprecated public Collection<Player> values()
getPlayers()
public Collection<Player> getPlayers()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||