2019-02-11 16:43:36 +01:00
|
|
|
<?php
|
|
|
|
/**
|
2019-06-19 19:49:39 +02:00
|
|
|
* Class Pairing
|
|
|
|
*
|
|
|
|
* Class for a pairing of the tournament
|
|
|
|
*
|
|
|
|
* @author Jeroen De Meerleer <schaak@jeroened.be>
|
|
|
|
* @category Main
|
|
|
|
* @package Libpairtwo
|
|
|
|
* @copyright Copyright (c) 2018-2019 Jeroen De Meerleer <schaak@jeroened.be>
|
2019-02-11 16:43:36 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
namespace JeroenED\Libpairtwo;
|
|
|
|
|
2019-06-19 19:49:39 +02:00
|
|
|
use JeroenED\Libpairtwo\Enums\Color;
|
|
|
|
use JeroenED\Libpairtwo\Enums\Result;
|
2019-02-11 16:43:36 +01:00
|
|
|
|
2019-06-19 19:49:39 +02:00
|
|
|
/**
|
|
|
|
* Class Pairing
|
|
|
|
*
|
|
|
|
* Class for a pairing of the tournament
|
|
|
|
*
|
|
|
|
* @author Jeroen De Meerleer <schaak@jeroened.be>
|
|
|
|
* @category Main
|
|
|
|
* @package Libpairtwo
|
|
|
|
* @copyright Copyright (c) 2018-2019 Jeroen De Meerleer <schaak@jeroened.be>
|
|
|
|
*/
|
|
|
|
class Pairing
|
2019-02-11 16:43:36 +01:00
|
|
|
{
|
2019-06-20 14:53:26 +02:00
|
|
|
/** @var Player | null */
|
2019-11-15 17:16:38 +01:00
|
|
|
public $Player;
|
2019-06-19 19:49:39 +02:00
|
|
|
|
2019-06-20 14:53:26 +02:00
|
|
|
/** @var Player | null */
|
2019-11-15 17:16:38 +01:00
|
|
|
public $Opponent;
|
2019-06-19 19:49:39 +02:00
|
|
|
|
|
|
|
/** @var Color */
|
2019-11-15 17:16:38 +01:00
|
|
|
public $Color;
|
2019-06-19 19:49:39 +02:00
|
|
|
|
|
|
|
/** @var Result */
|
2019-11-15 17:16:38 +01:00
|
|
|
public $Result;
|
2019-06-19 19:49:39 +02:00
|
|
|
|
|
|
|
/** @var int */
|
2019-11-15 17:16:38 +01:00
|
|
|
public $Round;
|
2019-06-19 19:49:39 +02:00
|
|
|
|
2019-09-28 20:17:38 +02:00
|
|
|
/** @var int */
|
2019-11-15 17:16:38 +01:00
|
|
|
public $Board;
|
2019-02-11 17:37:30 +01:00
|
|
|
}
|