void World::StartGame( const GameSettings& _Settings ) { // Init game m_spGame = GamePtr( new Game() ); GameLogic logic; logic.Setup( m_spDatabase, m_spGame ); logic.StartGame( _Settings ); }
void World::Update( Float32 _f32TimeDifference ) { if ( m_spGame != NULL ) { GameLogic logic; logic.Setup( m_spDatabase, m_spGame ); logic.UpdateGame( _f32TimeDifference ); } }