TrackManiaControl/application/core/Libs/FML/Controls/Quads/Quad_Hud3dEchelons.php

50 lines
1.3 KiB
PHP
Raw Normal View History

<?php
namespace FML\Controls\Quads;
use FML\Controls\Quad;
/**
2014-01-12 00:51:46 +01:00
* Quad Class for 'Hud3dEchelons' Style
*
* @author steeffeen
2014-04-13 18:21:40 +02:00
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
class Quad_Hud3dEchelons extends Quad {
2014-01-21 20:30:40 +01:00
/*
* Constants
*/
const STYLE = 'Hud3dEchelons';
2013-12-31 02:55:19 +01:00
const SUBSTYLE_EchelonBronze1 = 'EchelonBronze1';
const SUBSTYLE_EchelonBronze2 = 'EchelonBronze2';
const SUBSTYLE_EchelonBronze3 = 'EchelonBronze3';
const SUBSTYLE_EchelonGold1 = 'EchelonGold1';
const SUBSTYLE_EchelonGold2 = 'EchelonGold2';
const SUBSTYLE_EchelonGold3 = 'EchelonGold3';
const SUBSTYLE_EchelonSilver1 = 'EchelonSilver1';
const SUBSTYLE_EchelonSilver2 = 'EchelonSilver2';
const SUBSTYLE_EchelonSilver3 = 'EchelonSilver3';
/**
2014-01-19 19:30:21 +01:00
* Create a new Quad_Hud3dEchelons Control
2013-12-31 02:55:19 +01:00
*
2014-01-19 19:30:21 +01:00
* @param string $id (optional) Control Id
* @return \FML\Controls\Quads\Quad_Hud3dEchelons
*/
public static function create($id = null) {
$quadHud3dEchelons = new Quad_Hud3dEchelons($id);
return $quadHud3dEchelons;
}
/**
* Construct a new Quad_Hud3dEchelons Control
*
* @param string $id (optional) Control Id
*/
2013-12-31 02:55:19 +01:00
public function __construct($id = null) {
parent::__construct($id);
$this->setStyle(self::STYLE);
}
}