FIFE
2008.0
|
#include <singleton.h>
Another Singleton.
This implementations needs to be created and destroyed explicitly. That way the order of construction and destruction is well defined, so we don't get those nasty static initialization/destruction order problems.
Engine will create all standard FIFE Singletons when created (just call Engine::instance()) and destroy them on exit.
Maybe we'll change this one day to use one of those funny NiftyCounter implementations.
Definition at line 82 of file singleton.h.