![]() |
Adventure at Umalu
22nd March, 2013
Rogue-like Dungeon Crawler, written in Java
|
Public Member Functions | |
Player (Terminal term) | |
void | setName (String name) |
String | getName () |
Inventory | getInventory () |
void | act () |
void | confirmQuit () |
Collection< Coordinate > | getViewField () |
void | regainHitpoint () |
void | regainChurchHitpoint () |
int | getHitpoints () |
int | getMaxHitpoints () |
void | showInventoryScreen () |
void | updateHP (int newBonusHP) |
void | updateHP () |
void | updateStrength (int newBonusStrength) |
void | updateStrength () |
![]() | |
Creature (ColoredChar face) | |
void | setPos (int x, int y) |
boolean | loseHitpoints (int damage) |
boolean | checkHitpoints () |
![]() | |
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< Actor > | holds () |
void | setWorld (World world) |
![]() | |
Messenger () | |
void | appendMessage (String message) |
Iterable< String > | retrieveMessages () |
void | aggregateMessages (Messenger messenger) |
void | filterMessages (Collection< Messenger > filter) |
void | clearMessages () |
![]() | |
int | x () |
int | y () |
World | world () |
Public Attributes | |
Boolean | worldchangedown = false |
Boolean | worldchangeup = false |
![]() | |
int | hitpoints |
int | strength |
Represents Player
rogue.creature.Player.Player | ( | Terminal | term | ) |
Creates a new Player Object
term | Currently used Terminalobject |
|
virtual |
Ask Player to do some action (passing him the baton). Reads input and moves Character accordingly.
Implements jade.core.Actor.
String rogue.creature.Player.getName | ( | ) |
Returns Charactername.
Collection<Coordinate> rogue.creature.Player.getViewField | ( | ) |
void rogue.creature.Player.regainHitpoint | ( | ) |
Player regains 1 Hitpoint. Method should be used every x rounds in rogue
void rogue.creature.Player.setName | ( | String | name | ) |
Sets Charactername. Should be only called on character Creation.
name | New Name of Character |
void rogue.creature.Player.showInventoryScreen | ( | ) |
Creates and prints an Inventory Screen