Minor changes

This commit is contained in:
Alf Magne Kalleland
2013-02-11 02:18:09 +01:00
parent 9050a454c5
commit 61e2159841
2 changed files with 2 additions and 3 deletions

View File

@@ -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){

View File

@@ -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){