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 |
|
inline |
Constructor
|
inline |
Clear the state
|
inline |
Returns true if the state is empty
void Xeen::ItemState::synchronize | ( | Common::Serializer & | s | ) |
Synchronizes the item's state
void Xeen::ItemState::operator= | ( | byte | val | ) |
Set the entire state value