Add Tiled

This commit is contained in:
Steffen Lange 2020-08-10 22:20:11 +02:00
parent 0e9dbcd8ca
commit d798fd50f8

14
modules/Tiled.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class Tiled extends PatchBase {
function __construct() {
parent::__construct('Thorbjørn Lindeijer', 'Tiled Map Editor', 'https://www.mapeditor.org/');
}
function check() : bool {
if ($this->fetch('https://api.github.com/repos/bjorn/tiled/releases/latest', true))
return $this->parse_json('tag_name');
return false;
}
}
?>