| Package | Description |
|---|---|
| com.sun.sgs.example.hack.server | |
| com.sun.sgs.example.hack.server.ai |
| Modifier and Type | Class and Description |
|---|---|
class |
PlayerCharacter
This is an implementation of
Character used by all
Players. |
| Modifier and Type | Method and Description |
|---|---|
Character |
PlayerCharacterManager.getCurrentCharacter()
Returns the current character being played through this manager.
|
Character |
CharacterManager.getCurrentCharacter()
Returns the current character being played through this manager.
|
| 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.
|
boolean |
PlayerCharacter.collidedInto(Character character)
Called when you collide into the character.
|
boolean |
Character.collidedInto(Character character)
Called when you collide with the character.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AICharacter
This implementation of
Character is the base for all AI
creatures (ie, Monsters and NPCs). |
class |
CollectMonster
This is a very simple monster that implements the "yellow box" logic
for the game of secret collect.
|
class |
DemonMonster
This is an implementation of
MonsterCharacter that models
a demon creature that is strong, retaliatory, but only somewhat mobile. |
class |
MonsterCharacter
This abstract implementation of
AICharacter is the base
for all Monsters. |
class |
NPCharacter
This is an implementation of
AICharacter that supports
Non-Player Characters. |
class |
RodentMonster
This is an implementation of
MonsterCharacter that supports
behavior for a rodent. |
| Modifier and Type | Method and Description |
|---|---|
Character |
AICharacterManager.getCurrentCharacter()
Returns the current character being played through this manager.
|
| 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.
|
boolean |
CollectMonster.collidedInto(Character character)
Called when you collide with the character.
|
boolean |
RodentMonster.collidedInto(Character character)
Called when you collide with the character.
|
boolean |
DemonMonster.collidedInto(Character character)
Called when you collide with the character
|
boolean |
NPCharacter.collidedInto(Character character)
Called when you collide with the character.
|
Copyright © 2013. All Rights Reserved.