29 #ifndef FAILED_VIEW_CONTROLLER_H 30 #define FAILED_VIEW_CONTROLLER_H 65 virtual void lookAt(
const Ogre::Vector3& point ) {}
75 #endif // FAILED_VIEW_CONTROLLER_H virtual QString getDescription() const
Return the description.
virtual void load(const Config &config)
Store the given Config data for later, so we can return it with save() when someone writes this back ...
Configuration data storage class.
virtual int processMouseEvent(ViewportMouseEvent &event)
FailedViewController(const QString &desired_class_id, const QString &error_message)
A FailedViewController instance represents a ViewController class we tried and failed to instantiate...
virtual void lookAt(const Ogre::Vector3 &point)
This should be implemented in each subclass to aim the camera at the given point in space (relative t...
virtual void onActivate()
called by activate().
virtual void save(Config config) const
Write into config data equivalent to the last config sent to load().