#include <creature_logic.h>
Classes | |
| struct | Breath |
Public Member Functions | |
| int | creatureAt (int x, int y) const |
| int | update (bool moved) |
| Common::Array< Breath > | takeBreaths () |
The movement of the creatures on a map: the monsters that roam the world and the people of the towns and castles
| int Ultima::Ultima3::CreatureLogic::creatureAt | ( | int | x, |
| int | y | ||
| ) | const |
Returns the creature standing at a position, or -1
| int Ultima::Ultima3::CreatureLogic::update | ( | bool | moved | ) |
Lets each creature take a turn, and may add a new monster to the world
| moved | True if the party just moved, which matters when they're riding or sailing |
|
inline |
Returns the attacks made during the last update, and forgets them