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.Rat Class Reference
Inheritance diagram for rogue.creature.Rat:
rogue.creature.Monster rogue.creature.Creature jade.core.Actor jade.core.Messenger

Public Member Functions

 Rat (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
 

Detailed Description

An Orc ist a weak Monster he moves randomly like the Dragon and hit the Player if he can

Member Function Documentation

void rogue.creature.Rat.act ( )
virtual

This Creatures has its move now

Implements jade.core.Actor.

void rogue.creature.Rat.fight ( Player  opponent)
virtual

Allows this monster to figth against the player

Implements rogue.creature.Monster.


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