| Package | Description |
|---|---|
| com.sun.sgs.example.hack.server | |
| com.sun.sgs.example.hack.server.level |
| Modifier and Type | Class and Description |
|---|---|
class |
Creator
The creator is where all players can create new characters.
|
class |
Dungeon
This implementation of
Game is what players actually play
with. |
class |
Lobby
The lobby is where all players go to join a game, and it manages players
while they're deciding which game to join.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Player.moveToGame(Game game)
Moves the player into the provided
Game. |
| Constructor and Description |
|---|
GameConnector(Game game,
Level level,
int startX,
int startY)
Creates an instance of
GameConnector. |
MoveGameTask(Player player,
Game game) |
| Modifier and Type | Method and Description |
|---|---|
static GameConnector |
DungeonFactory.loadDungeon(StreamTokenizer stok,
String gameName,
Set<Integer> impassableSprites,
Game lobby)
This method takes a
StreamTokenizer that is setup at
the start of a single dungeon file, and loads all the data, creating
the AIs, stitching together all connectors between levels, etc. |
Copyright © 2013. All Rights Reserved.