|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.starhope.appius.user.GeneralUser
org.starhope.appius.user.AbstractNonPlayerCharacter
com.tootsville.npc.Harmony
public class Harmony
| Nested Class Summary | |
|---|---|
(package private) static class |
Harmony.EnterForestRunner
WRITEME: Document this type. |
(package private) static class |
Harmony.GoAwayRunner
WRITEME: Document this type. |
(package private) static class |
Harmony.GoNowhere
WRITEME: Document this type. |
(package private) static class |
Harmony.KidWalksUpTo
WRITEME: Document this type. |
(package private) static class |
Harmony.SitOnTuffetRunner
WRITEME: Document this type. |
| Field Summary | |
|---|---|
protected static int |
CLEANUP_ITEM_ID
WRITEME |
static String |
EVENT_MONIKER
WRITEME |
protected static AtomicInteger |
instanceCounter
Counter for getting instance ID's |
private ActionHandler |
kidWalksUpHandler
handler for kids walking onto her Tuffet |
static int |
LEVEL_1_COUNT
WRITEME |
static int |
LEVEL_1_ITEM
WRITEME |
static int |
LEVEL_2_COUNT
WRITEME |
static int |
LEVEL_2_ITEM
WRITEME |
private long |
nextAppearance
WRITEME: Document this brpocock@star-hope.org |
private long |
nextExit
WRITEME: Document this brpocock@star-hope.org |
(package private) static Set<AbstractUser> |
saidNeedMore
Don't nag them about not cleaning up more, once we know about it |
(package private) static Set<AbstractUser> |
saidNotCleaned
Don't nag them about not cleaning up more, once we know about it |
private static long |
serialVersionUID
WRITEME: Document this brpocock@star-hope.org |
| Fields inherited from class org.starhope.appius.user.AbstractNonPlayerCharacter |
|---|
buddyList, casualSpeechQueue, casualSpeechRate, instanceID, kalendor, lastActive, lastSpoken |
| Fields inherited from class org.starhope.appius.user.GeneralUser |
|---|
baseStats, collisionBounds, currentRoom, facing, lastUserMovement, pathFinder, userRecord |
| Constructor Summary | |
|---|---|
Harmony(Zone z)
WRITEME brpocock@star-hope.org |
|
| Method Summary | |
|---|---|
void |
acceptPublicMessage(AbstractUser from,
String message)
Accept a public chat message. |
void |
ban(AbstractUser u,
String banReason)
|
void |
enterEnchantedForest()
enters Enchanted Forest from “stage left” where we imagine her house must be. |
protected int |
getInstanceID()
|
void |
goAway()
Leave… |
void |
scheduleExit()
Schedule to leave on the next even-numbered hour |
void |
scheduleNextAppearance()
Schedule to appear on the next odd-numbered hour |
protected void |
setLastSpoken()
WRITEME: Document this method brpocock@star-hope.org |
protected void |
sitOnTuffet()
WRITEME: Document this method brpocock@star-hope.org |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private long nextAppearance
private long nextExit
static final Set<AbstractUser> saidNotCleaned
static final Set<AbstractUser> saidNeedMore
public static final int LEVEL_1_COUNT
public static final int LEVEL_1_ITEM
public static final int LEVEL_2_COUNT
public static final int LEVEL_2_ITEM
protected static final int CLEANUP_ITEM_ID
protected static final AtomicInteger instanceCounter
public static final String EVENT_MONIKER
private final ActionHandler kidWalksUpHandler
| Constructor Detail |
|---|
public Harmony(Zone z)
throws NotFoundException,
GameLogicException
z - WRITEME
GameLogicException - WRITEME
NotFoundException - WRITEME| Method Detail |
|---|
public void acceptPublicMessage(AbstractUser from,
String message)
RoomListener
acceptPublicMessage in interface RoomListeneracceptPublicMessage in class AbstractNonPlayerCharacterfrom - The speakermessage - The spoken text or /emoteAbstractNonPlayerCharacter.acceptPublicMessage(org.starhope.appius.user.AbstractUser,
java.lang.String)
public void ban(AbstractUser u,
String banReason)
throws PrivilegeRequiredException
u - WRITEMEbanReason - WRITEME
PrivilegeRequiredException - WRITEMEAbstractUser.ban(org.starhope.appius.user.AbstractUser,
java.lang.String)public void enterEnchantedForest()
protected int getInstanceID()
getInstanceID in class AbstractNonPlayerCharacterAbstractNonPlayerCharacter.getInstanceID()public void goAway()
public void scheduleExit()
public void scheduleNextAppearance()
protected void setLastSpoken()
protected void sitOnTuffet()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||