Code for OgreGame