TrackManiaControl/core/Callbacks/Structures/ShootMania/Models/Landmark.php
2018-03-27 20:11:40 +02:00

88 lines
1.4 KiB
PHP

<?php
namespace ManiaControl\Callbacks\Structures\ShootMania\Models;
use ManiaControl\General\UsageInformationAble;
use ManiaControl\General\UsageInformationTrait;
/**
* Landmark Model
*
* @api
* @author ManiaControl Team <mail@maniacontrol.com>
* @copyright 2014-2018 ManiaControl Team
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
class Landmark implements UsageInformationAble {
use UsageInformationTrait;
private $tag = "";
private $order = 0;
private $id = "";
private $position = null;
/**
* @api
* @return string
*/
public function getTag() {
return $this->tag;
}
/**
* @api
* @param string $tag
*/
public function setTag($tag) {
$this->tag = $tag;
}
/**
* @api
* @return mixed
*/
public function getOrder() {
return $this->order;
}
/**
* @api
* @param mixed $order
*/
public function setOrder($order) {
$this->order = $order;
}
/**
* @api
* @return mixed
*/
public function getId() {
return $this->id;
}
/**
* @api
* @param mixed $id
*/
public function setId($id) {
$this->id = $id;
}
/**
* @api
* @return \ManiaControl\Callbacks\Structures\ShootMania\Models\Position
*/
public function getPosition() {
return $this->position;
}
/**
* @api
* @param \ManiaControl\Callbacks\Structures\ShootMania\Models\Position $position
*/
public function setPosition(Position $position) {
$this->position = $position;
}
}