Minor changes
This commit is contained in:
@@ -6,10 +6,8 @@ class MoveBuilder {
|
|||||||
private $pointer = 0;
|
private $pointer = 0;
|
||||||
private $currentIndex = 0;
|
private $currentIndex = 0;
|
||||||
|
|
||||||
|
|
||||||
public function __construct(){
|
public function __construct(){
|
||||||
$this->moveReferences[0] =& $this->moves;
|
$this->moveReferences[0] =& $this->moves;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function addMoves($moveString){
|
public function addMoves($moveString){
|
||||||
|
@@ -9,7 +9,8 @@ class PgnGameParser{
|
|||||||
private $gameData = array();
|
private $gameData = array();
|
||||||
|
|
||||||
private $specialMetadata = array(
|
private $specialMetadata = array(
|
||||||
'event','site','white','black','result','plycount','eco','fen','timecontrol','round','date','annotator','termination'
|
'event','site','white','black','result','plycount','eco','fen',
|
||||||
|
'timecontrol','round','date','annotator','termination'
|
||||||
);
|
);
|
||||||
|
|
||||||
public function __construct($pgnGame = null){
|
public function __construct($pgnGame = null){
|
||||||
|
Reference in New Issue
Block a user