us.asciiroth.client.agents.npc
Class Noble

java.lang.Object
  extended by us.asciiroth.client.core.AbstractPiece
      extended by us.asciiroth.client.agents.AbstractAgent
          extended by us.asciiroth.client.agents.AbstractAnimatedAgent
              extended by us.asciiroth.client.agents.npc.NPC
                  extended by us.asciiroth.client.agents.npc.Noble
All Implemented Interfaces:
Agent, Animated, Piece
Direct Known Subclasses:
MallocNoble

public class Noble
extends NPC

A noble. Like a commoner this person runs away when things get hostile. Typically I like to have a noble drop something when they die.


Field Summary
static Serializer<Noble> SERIALIZER
          Type serializer.
 
Constructor Summary
Noble(State state, Color color, java.lang.String message)
          Constructor.
Noble(State state, Color color, java.lang.String message, Color questColor, Color doneColor, java.lang.String inQuestMsg, java.lang.String flag)
          Constructor.
 
Method Summary
 
Methods inherited from class us.asciiroth.client.agents.npc.NPC
changeHealth, onFrame, onHit, onHitBy, onHitBy
 
Methods inherited from class us.asciiroth.client.agents.AbstractAnimatedAgent
randomSeed
 
Methods inherited from class us.asciiroth.client.agents.AbstractAgent
canEnter, onDie
 
Methods inherited from class us.asciiroth.client.core.AbstractPiece
getColor, getName, getSymbol, is, not
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface us.asciiroth.client.core.Piece
getColor, getName, getSymbol, is, not
 

Field Detail

SERIALIZER

public static final Serializer<Noble> SERIALIZER
Type serializer.

Constructor Detail

Noble

public Noble(State state,
             Color color,
             java.lang.String message)
Constructor.

Parameters:
state -
color -
message -

Noble

public Noble(State state,
             Color color,
             java.lang.String message,
             Color questColor,
             Color doneColor,
             java.lang.String inQuestMsg,
             java.lang.String flag)
Constructor.

Parameters:
state -
color -
message -
questColor -
doneColor -
flag -

0.7

© 2009 Alx Dark