us.asciiroth.client.agents.npc
Class Rifleman

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.Rifleman
All Implemented Interfaces:
Agent, Animated, Piece
Direct Known Subclasses:
MallocRifleman

public class Rifleman
extends NPC

A rifleman shoots bullets when hostile.


Field Summary
static Serializer<? extends NPC> SERIALIZER
          Type serializer.
 
Constructor Summary
Rifleman(State state, Color color, java.lang.String message)
          Constructor.
Rifleman(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<? extends NPC> SERIALIZER
Type serializer.

Constructor Detail

Rifleman

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

Parameters:
state -
color -
message -

Rifleman

public Rifleman(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