/** * Fetches the instance of RPG_View, instantiating it if necessary. * * @return RPG_View */ public static function view() { if (self::$_view === null) { self::$_view = new RPG_View(); } return self::$_view; }