ScummVM API documentation
Xeen::ItemState Struct Reference

Public Member Functions

 ItemState ()
 
void clear ()
 
bool empty () const
 
void synchronize (Common::Serializer &s)
 
void operator= (byte val)
 

Public Attributes

byte _counter: 6
 
bool _cursed: 1
 
bool _broken: 1
 

Constructor & Destructor Documentation

◆ ItemState()

Xeen::ItemState::ItemState ( )
inline

Constructor

Member Function Documentation

◆ clear()

void Xeen::ItemState::clear ( )
inline

Clear the state

◆ empty()

bool Xeen::ItemState::empty ( ) const
inline

Returns true if the state is empty

◆ synchronize()

void Xeen::ItemState::synchronize ( Common::Serializer s)

Synchronizes the item's state

◆ operator=()

void Xeen::ItemState::operator= ( byte  val)

Set the entire state value


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