ScummVM API documentation
Ultima::Ultima4::StatsArea Class Reference
Inheritance diagram for Ultima::Ultima4::StatsArea:
Ultima::Ultima4::Observer< Aura *> Ultima::Ultima4::Observer< Party *, PartyEvent &> Ultima::Ultima4::Observer< Menu *, MenuEvent &> Ultima::Ultima4::Observable< StatsArea *, Common::String >

Public Member Functions

void setView (StatsView view)
 
void clear ()
 
void prevItem ()
 
void nextItem ()
 
virtual void update (bool avatarOnly=false)
 
void update (Aura *observable, NoArg *arg) override
 
void update (Aura *aura) override
 
void update (Party *party, PartyEvent &event) override
 
void update (Menu *menu, MenuEvent &event) override
 
void highlightPlayer (int player)
 
void redraw ()
 
TextViewgetMainArea ()
 
void resetReagentsMenu ()
 
MenugetReagentsMenu ()
 
- Public Member Functions inherited from Ultima::Ultima4::Observable< StatsArea *, Common::String >
void addObserver (Observer< StatsArea *, Common::String > *o)
 
int countObservers () const
 
void deleteObserver (Observer< StatsArea *, Common::String > *o)
 
void deleteObservers ()
 
bool hasChanged () const
 
void notifyObservers (Common::String arg)
 

Additional Inherited Members

- Protected Member Functions inherited from Ultima::Ultima4::Observable< StatsArea *, Common::String >
void clearChanged ()
 
void setChanged ()
 

Member Function Documentation

◆ prevItem()

void Ultima::Ultima4::StatsArea::prevItem ( )

Sets the stats item to the previous in sequence.

◆ nextItem()

void Ultima::Ultima4::StatsArea::nextItem ( )

Sets the stats item to the next in sequence.

◆ update()

virtual void Ultima::Ultima4::StatsArea::update ( bool  avatarOnly = false)
virtual

Update the stats (ztats) box on the upper right of the screen.

◆ redraw()

void Ultima::Ultima4::StatsArea::redraw ( )

Redraws the entire stats area


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