Games_Chess
[ class tree: Games_Chess ] [ index: Games_Chess ] [ all elements ]

Source for file Result.php

Documentation is available at Result.php

  1. <?php
  2. class Games_Chess_Result
  3. {
  4.     var $type;
  5.     var $result;
  6.     var $winner;
  7.     var $time;
  8.     var $white;
  9.     var $black;
  10.     function Games_Chess_Result($white$black$time$type$result$winner = false)
  11.     {
  12.         $this->white $white;
  13.         $this->black $black;
  14.         $this->time $time;
  15.         $this->type $type;
  16.         $this->result $result;
  17.         if ($result != 0{
  18.             $this->winner $winner;
  19.         }
  20.     }
  21. }
  22. ?>

Documentation generated on Mon, 11 Mar 2019 14:28:44 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.