controller.cpp 216 B

12345678910111213
  1. #include "controller.h"
  2. #include "scene.h"
  3. controller_t::controller_t( type_e type_ ):
  4. type(type_)
  5. {
  6. scene::RegisterController( this );
  7. }
  8. controller_t::~controller_t()
  9. {
  10. scene::UnregisterController( this );
  11. }