static function init($title, $tiles) { if (!isset(self::$instance)) { self::$instance = new TileSet($title, $tiles); } return self::$instance; }