public function getPlayableGames($entry = null)
    {
        $sortedPlayableGames = array();
        foreach ($this->missionGames as $missionGame) {
            $g = $missionGame->getGame();
            
            if ($g->isStarted() && $g->getActive()) {
                if (!$missionGame->getConditions() || $missionGame->fulfillConditions($entry)) {
                    $sortedPlayableGames[$missionGame->getPosition()] = $missionGame;
                }
            }
        }

        return $sortedPlayableGames;
    }
public function getPlayableGames($entry = null)
    {
        $sortedPlayableGames = array();
        foreach ($this->missionGames as $missionGame) {
            $g = $missionGame->getGame();
            
            if ($g->isStarted() && $g->getActive()) {
                if (!$missionGame->getConditions() || $missionGame->fulfillConditions($entry)) {
                    $sortedPlayableGames[$missionGame->getPosition()] = $missionGame;
                }
            }
        }

        return $sortedPlayableGames;
    }
public function getPlayableGames ( $ entry = null ) { $ sortedPlayableGames = array ( ) ; foreach ( $ this -> missionGames as $ missionGame ) { $ g = $ missionGame -> getGame ( ) ; if ( $ g -> isStarted ( ) && $ g -> getActive ( ) ) { if ( ! $ missionGame -> getConditions ( ) || $ missionGame -> fulfillConditions ( $ entry ) ) { $ sortedPlayableGames [ $ missionGame -> getPosition ( ) ] = $ missionGame ; } } } return $ sortedPlayableGames ; }
Get the playables game if any

@return array
Get the playables game if any