src/Neuron/GameServer/Player.php
protected function loadModule ($sModule)
    {
        $classname = 'Neuron_GameServer_Player_'.ucfirst ($sModule);
        if (!class_exists ($classname))
        {
            throw new Exception ('Module '.$sModule.' ('.$classname.') does not exist.');
        }
        return new $classname ($this);
    }
protected function loadModule ($sModule)
    {
        $classname = 'Neuron_GameServer_Player_'.ucfirst ($sModule);
        if (!class_exists ($classname))
        {
            throw new Exception ('Module '.$sModule.' ('.$classname.') does not exist.');
        }
        return new $classname ($this);
    }
protected function loadModule ( $ sModule ) { $ classname = 'Neuron_GameServer_Player_' . ucfirst ( $ sModule ) ; if ( ! class_exists ( $ classname ) ) { throw new Exception ( 'Module ' . $ sModule . ' (' . $ classname . ') does not exist.' ) ; } return new $ classname ( $ this ) ; }
/*
To enable the factory to do it's work,
overload the loadModule function

Return an object of the required module
The factory will make sure that it is only loaded once
/ * To enable the factory to do it s work overload the loadModule function