| Package | Description |
|---|---|
| com.sun.sgs.example.hack.server | |
| com.sun.sgs.example.hack.server.ai | |
| com.sun.sgs.example.hack.server.level |
| Modifier and Type | Method and Description |
|---|---|
LevelBoard.ActionResult |
PlayerCharacter.collidedFrom(Character character)
Called when a character collides into us.
|
LevelBoard.ActionResult |
Character.collidedFrom(Character character)
Called when the given character collides with us.
|
LevelBoard.ActionResult |
Item.giveTo(CharacterManager characterManager)
Called when this
Item is being given to the character. |
LevelBoard.ActionResult |
SimpleItem.giveTo(CharacterManager characterManager)
Called when this
Item is being given to the character. |
| Modifier and Type | Method and Description |
|---|---|
LevelBoard.ActionResult |
CollectMonster.collidedFrom(Character character)
Called when the given character collides with us.
|
LevelBoard.ActionResult |
RodentMonster.collidedFrom(Character character)
Called when a character collides into us.
|
LevelBoard.ActionResult |
DemonMonster.collidedFrom(Character character)
Called when a character collides into us.
|
LevelBoard.ActionResult |
NPCharacter.collidedFrom(Character character)
Called when the given character collides with us.
|
| Modifier and Type | Method and Description |
|---|---|
protected LevelBoard.ActionResult |
BasicTile.charMoveTo(CharacterManager characterManager)
Test to move the given character to this tile.
|
LevelBoard.ActionResult |
BasicTile.getItem(CharacterManager characterManager)
Tries to take an item on this tile.
|
LevelBoard.ActionResult |
ConnectorTile.getItem(CharacterManager characterManager)
This always fails, since no items are allowed on this tile.
|
LevelBoard.ActionResult |
Tile.getItem(CharacterManager characterManager)
Tries to take an item on this tile.
|
LevelBoard.ActionResult |
SimpleBoard.getItem(int x,
int y,
CharacterManager mgr)
Tries to take an item on this tile.
|
LevelBoard.ActionResult |
LevelBoard.getItem(int x,
int y,
CharacterManager mgr)
Gets the items available at the given location.
|
LevelBoard.ActionResult |
ImpassableTile.moveTo(CharacterManager characterManager)
Test to move the given character onto this tile.
|
LevelBoard.ActionResult |
PassableTile.moveTo(CharacterManager mgr)
Test to move the given character onto this tile.
|
LevelBoard.ActionResult |
ConnectorTile.moveTo(CharacterManager characterManager)
Test to move the given character to this tile.
|
LevelBoard.ActionResult |
Tile.moveTo(CharacterManager characterManager)
Test to move the given character to this tile.
|
LevelBoard.ActionResult |
SimpleBoard.moveTo(int x,
int y,
CharacterManager mgr)
Moves the given character to the given location.
|
LevelBoard.ActionResult |
LevelBoard.moveTo(int x,
int y,
CharacterManager mgr)
Moves the given character to the given location.
|
static LevelBoard.ActionResult |
LevelBoard.ActionResult.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LevelBoard.ActionResult[] |
LevelBoard.ActionResult.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2013. All Rights Reserved.