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
|
|
|
|
|
|
|
|
2017-03-27 22:21:59 +02:00
|
|
|
use ManiaControl\General\UsageInformationAble;
|
|
|
|
use ManiaControl\General\UsageInformationTrait;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Landmark Model
|
|
|
|
*
|
2017-04-07 23:26:35 +02:00
|
|
|
* @api
|
2017-03-27 22:21:59 +02:00
|
|
|
* @author ManiaControl Team <mail@maniacontrol.com>
|
2018-03-27 20:11:40 +02:00
|
|
|
* @copyright 2014-2018 ManiaControl Team
|
2017-03-27 22:21:59 +02:00
|
|
|
* @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
|
2017-03-26 12:42:20 +02:00
|
|
|
* @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
|
2017-03-26 12:42:20 +02:00
|
|
|
* @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
|
2017-03-26 12:42:20 +02:00
|
|
|
* @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
|
2017-03-26 12:42:20 +02:00
|
|
|
* @param \ManiaControl\Callbacks\Structures\ShootMania\Models\Position $position
|
2017-03-25 11:53:55 +01:00
|
|
|
*/
|
|
|
|
public function setPosition(Position $position) {
|
|
|
|
$this->position = $position;
|
|
|
|
}
|
|
|
|
}
|