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

71 lines
1.0 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;
/**
* Position 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 Position implements UsageInformationAble {
use UsageInformationTrait;
2017-03-25 11:53:55 +01:00
private $x = 0;
private $y = 0;
private $z = 0;
/**
2017-04-07 23:26:35 +02:00
* @api
2017-03-25 11:53:55 +01:00
* @return int
*/
public function getX() {
return $this->x;
}
/**
2017-04-07 23:26:35 +02:00
* @api
2017-03-25 11:53:55 +01:00
* @param int $x
*/
public function setX($x) {
$this->x = $x;
}
/**
2017-04-07 23:26:35 +02:00
* @api
2017-03-25 11:53:55 +01:00
* @return int
*/
public function getZ() {
return $this->z;
}
/**
2017-04-07 23:26:35 +02:00
* @api
2017-03-25 11:53:55 +01:00
* @param int $z
*/
public function setZ($z) {
$this->z = $z;
}
/**
2017-04-07 23:26:35 +02:00
* @api
2017-03-25 11:53:55 +01:00
* @return int
*/
public function getY() {
return $this->y;
}
/**
2017-04-07 23:26:35 +02:00
* @api
2017-03-25 11:53:55 +01:00
* @param int $y
*/
public function setY($y) {
$this->y = $y;
}
}