2013-11-25 00:02:07 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace FML\Controls\Quads;
|
|
|
|
|
|
|
|
use FML\Controls\Quad;
|
|
|
|
|
|
|
|
/**
|
2014-01-12 00:51:46 +01:00
|
|
|
* Quad Class for 'BgRaceScore2' Style
|
2013-11-25 00:02:07 +01:00
|
|
|
*
|
|
|
|
* @author steeffeen
|
|
|
|
*/
|
|
|
|
class Quad_BgRaceScore2 extends Quad {
|
2014-01-21 20:30:40 +01:00
|
|
|
/*
|
2013-11-25 00:02:07 +01:00
|
|
|
* Constants
|
|
|
|
*/
|
|
|
|
const STYLE = 'BgRaceScore2';
|
|
|
|
const SUBSTYLE_BgCardPlayer = 'BgCardPlayer';
|
|
|
|
const SUBSTYLE_BgCardServer = 'BgCardServer';
|
|
|
|
const SUBSTYLE_BgScores = 'BgScores';
|
|
|
|
const SUBSTYLE_Cartouche = 'Cartouche';
|
|
|
|
const SUBSTYLE_CartoucheLine = 'CartoucheLine';
|
|
|
|
const SUBSTYLE_CupFinisher = 'CupFinisher';
|
|
|
|
const SUBSTYLE_CupPotentialFinisher = 'CupPotentialFinisher';
|
|
|
|
const SUBSTYLE_Fame = 'Fame';
|
|
|
|
const SUBSTYLE_Handle = 'Handle';
|
|
|
|
const SUBSTYLE_HandleBlue = 'HandleBlue';
|
|
|
|
const SUBSTYLE_HandleRed = 'HandleRed';
|
|
|
|
const SUBSTYLE_HandleSelectable = 'HandleSelectable';
|
|
|
|
const SUBSTYLE_IsLadderDisabled = 'IsLadderDisabled';
|
|
|
|
const SUBSTYLE_IsLocalPlayer = 'IsLocalPlayer';
|
|
|
|
const SUBSTYLE_LadderPoints = 'LadderPoints';
|
|
|
|
const SUBSTYLE_LadderRank = 'LadderRank';
|
|
|
|
const SUBSTYLE_Laps = 'Laps';
|
|
|
|
const SUBSTYLE_Podium = 'Podium';
|
|
|
|
const SUBSTYLE_Points = 'Points';
|
|
|
|
const SUBSTYLE_SandTimer = 'SandTimer';
|
|
|
|
const SUBSTYLE_ScoreLink = 'ScoreLink';
|
|
|
|
const SUBSTYLE_ScoreReplay = 'ScoreReplay';
|
|
|
|
const SUBSTYLE_SendScore = 'SendScore';
|
|
|
|
const SUBSTYLE_Speaking = 'Speaking';
|
|
|
|
const SUBSTYLE_Spectator = 'Spectator';
|
|
|
|
const SUBSTYLE_Tv = 'Tv';
|
|
|
|
const SUBSTYLE_Warmup = 'Warmup';
|
|
|
|
|
|
|
|
/**
|
2014-01-19 19:30:21 +01:00
|
|
|
* Create a new Quad_BgRaceScore2 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_BgRaceScore2
|
|
|
|
*/
|
|
|
|
public static function create($id = null) {
|
|
|
|
$quadBgRaceScore2 = new Quad_BgRaceScore2($id);
|
|
|
|
return $quadBgRaceScore2;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Construct a new Quad_BgRaceScore2 Control
|
|
|
|
*
|
|
|
|
* @param string $id (optional) Control Id
|
2013-11-25 00:02:07 +01:00
|
|
|
*/
|
2013-12-31 02:55:19 +01:00
|
|
|
public function __construct($id = null) {
|
|
|
|
parent::__construct($id);
|
2013-11-25 00:02:07 +01:00
|
|
|
$this->setStyle(self::STYLE);
|
|
|
|
}
|
|
|
|
}
|