Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

cavewriting::TotalCollapse Class Reference

A scene which causes all words in all of its sections to fall to the floor. More...

#include <TotalCollapse.H>

Inherits cavewriting::Scene.

List of all members.

Public Member Functions

 TotalCollapse (Story *story, xercesc::DOMNode *node, int id)
virtual ~TotalCollapse ()
virtual void start ()
virtual void animate ()
void addWordToCollapse (Word *word)
void addWordsToCollapse (Array< Word * > &words)
void forgetAllWords ()
void oneMoreWordPeeled ()
void oneMoreWordPlaced ()
void setNumTotalWords (int num)
bool readyToCollapse ()

Protected Attributes

Array< Vector3 > _startPositions
Array< Word * > _words
bool _inFade
int _numWordsPeeled
int _numWordsTotal


Detailed Description

A scene which causes all words in all of its sections to fall to the floor.


Constructor & Destructor Documentation

cavewriting::TotalCollapse::TotalCollapse Story story,
xercesc::DOMNode *  node,
int  id
 

virtual cavewriting::TotalCollapse::~TotalCollapse  )  [virtual]
 


Member Function Documentation

void cavewriting::TotalCollapse::addWordsToCollapse Array< Word * > &  words  ) 
 

void cavewriting::TotalCollapse::addWordToCollapse Word word  ) 
 

virtual void cavewriting::TotalCollapse::animate  )  [virtual]
 

Reimplemented from cavewriting::Scene.

void cavewriting::TotalCollapse::forgetAllWords  ) 
 

void cavewriting::TotalCollapse::oneMoreWordPeeled  )  [inline]
 

void cavewriting::TotalCollapse::oneMoreWordPlaced  )  [inline]
 

bool cavewriting::TotalCollapse::readyToCollapse  ) 
 

void cavewriting::TotalCollapse::setNumTotalWords int  num  )  [inline]
 

virtual void cavewriting::TotalCollapse::start  )  [virtual]
 

Reimplemented from cavewriting::Scene.


Member Data Documentation

bool cavewriting::TotalCollapse::_inFade [protected]
 

int cavewriting::TotalCollapse::_numWordsPeeled [protected]
 

int cavewriting::TotalCollapse::_numWordsTotal [protected]
 

Array<Vector3> cavewriting::TotalCollapse::_startPositions [protected]
 

Array<Word*> cavewriting::TotalCollapse::_words [protected]
 


The documentation for this class was generated from the following file:
Generated on Sun Apr 17 13:34:28 2005 for cavewriting by  doxygen 1.4.0