Adventure at Umalu  22nd March, 2013
Rogue-like Dungeon Crawler, written in Java
 All Classes Functions Variables Pages
Public Member Functions | List of all members
rogue.creature.Dummy Class Reference
Inheritance diagram for rogue.creature.Dummy:
rogue.creature.Monster rogue.creature.Creature jade.core.Actor jade.core.Messenger

Public Member Functions

 Dummy (ColoredChar face, String name, Terminal term)
 
void act ()
 
void fight (Player opponent)
 
- Public Member Functions inherited from rogue.creature.Monster
 Monster (ColoredChar face)
 
 Monster (ColoredChar face, String name, int maxHitpoints, int strength, Terminal term)
 
String name ()
 
- Public Member Functions inherited from rogue.creature.Creature
 Creature (ColoredChar face)
 
void setPos (int x, int y)
 
boolean loseHitpoints (int damage)
 
boolean checkHitpoints ()
 
- Public Member Functions inherited from jade.core.Actor
 Actor (ColoredChar face)
 
ColoredChar face ()
 
World world ()
 
final boolean bound ()
 
final boolean bound (World world)
 
void setPos (int x, int y)
 
final void setPos (Coordinate coord)
 
final void move (int dx, int dy)
 
final void move (Coordinate delta)
 
final void move (Direction dir)
 
int x ()
 
int y ()
 
final Coordinate pos ()
 
boolean expired ()
 
void expire ()
 
void attach (Actor holder)
 
void detach ()
 
Actor holder ()
 
final boolean held ()
 
final boolean held (Actor holder)
 
final Collection< Actorholds ()
 
void setWorld (World world)
 
- Public Member Functions inherited from jade.core.Messenger
 Messenger ()
 
void appendMessage (String message)
 
Iterable< String > retrieveMessages ()
 
void aggregateMessages (Messenger messenger)
 
void filterMessages (Collection< Messenger > filter)
 
void clearMessages ()
 

Additional Inherited Members

- Public Attributes inherited from rogue.creature.Creature
int hitpoints
 
int strength
 
- Protected Attributes inherited from rogue.creature.Monster
String name
 
Terminal term
 
int typenumber
 

Member Function Documentation

void rogue.creature.Dummy.act ( )
virtual

Performs the actions of this

. Normally this would be called by the

World

in the

tick()

method, which allows the

actions to be scheduled properly based on act order and

speed.

Implements jade.core.Actor.


The documentation for this class was generated from the following file: