ScummVM API documentation
Ultima::Ultima4::Items Class Reference

Public Member Functions

void setDestroyAllCreaturesCallback (DestroyAllCreaturesCallback callback)
 
const ItemLocationitemAtLocation (const Map *map, const Coords &coords)
 
void itemUse (const Common::String &shortName)
 

Static Public Member Functions

static bool isAbyssOpened (const Portal *p)
 

Member Function Documentation

◆ itemAtLocation()

const ItemLocation* Ultima::Ultima4::Items::itemAtLocation ( const Map map,
const Coords coords 
)

Returns an item location record if a searchable object exists at the given location. nullptr is returned if nothing is there.

◆ itemUse()

void Ultima::Ultima4::Items::itemUse ( const Common::String shortName)

Uses the item indicated by 'shortname'

◆ isAbyssOpened()

static bool Ultima::Ultima4::Items::isAbyssOpened ( const Portal p)
static

Checks to see if the abyss was opened


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