TrackManiaControl/core/Callbacks/Structures/ShootMania/Models/Landmark.php

88 lines
1.4 KiB
PHP
Raw Normal View History

2017-03-25 11:53:55 +01:00
<?php
2017-03-25 11:54:44 +01:00
namespace ManiaControl\Callbacks\Structures\ShootMania\Models;
2017-03-25 11:53:55 +01:00
use ManiaControl\General\UsageInformationAble;
use ManiaControl\General\UsageInformationTrait;
/**
* Landmark Model
*
2017-04-07 23:26:35 +02:00
* @api
* @author ManiaControl Team <mail@maniacontrol.com>
2018-03-27 20:11:40 +02:00
* @copyright 2014-2018 ManiaControl Team
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
class Landmark implements UsageInformationAble {
use UsageInformationTrait;
2017-03-25 11:53:55 +01:00
private $tag = "";
private $order = 0;
private $id = "";
private $position = null;
/**
2017-04-07 23:26:35 +02:00
* @api
* @return string
2017-03-25 11:53:55 +01:00
*/
public function getTag() {
return $this->tag;
}
/**
2017-04-07 23:26:35 +02:00
* @api
* @param string $tag
2017-03-25 11:53:55 +01:00
*/
public function setTag($tag) {
$this->tag = $tag;
}
/**
2017-04-07 23:26:35 +02:00
* @api
2017-03-25 11:53:55 +01:00
* @return mixed
*/
public function getOrder() {
return $this->order;
}
/**
2017-04-07 23:26:35 +02:00
* @api
2017-03-25 11:53:55 +01:00
* @param mixed $order
*/
public function setOrder($order) {
$this->order = $order;
}
/**
2017-04-07 23:26:35 +02:00
* @api
2017-03-25 11:53:55 +01:00
* @return mixed
*/
public function getId() {
return $this->id;
}
/**
2017-04-07 23:26:35 +02:00
* @api
2017-03-25 11:53:55 +01:00
* @param mixed $id
*/
public function setId($id) {
$this->id = $id;
}
/**
2017-04-07 23:26:35 +02:00
* @api
* @return \ManiaControl\Callbacks\Structures\ShootMania\Models\Position
2017-03-25 11:53:55 +01:00
*/
public function getPosition() {
return $this->position;
}
/**
2017-04-07 23:26:35 +02:00
* @api
* @param \ManiaControl\Callbacks\Structures\ShootMania\Models\Position $position
2017-03-25 11:53:55 +01:00
*/
public function setPosition(Position $position) {
$this->position = $position;
}
}