Files
scummvm-web/include/Objects/CompatGame.php
T
Eugene Sandulenko d429c48de0 Website rewrite from Fredrik Wendel
svn path=/web/trunk/; revision=40814
2009-05-23 18:45:30 +00:00

42 lines
822 B
PHP

<?php
require_once('Objects/BasicObject.php');
/**
* The CompatGame class represents a game on the compatibility charts on the
* website.
*/
class CompatGame extends BasicObject {
private $_name;
private $_target;
private $_percent;
private $_notes;
/* Project object constructor. */
public function __construct($data) {
$this->_name = $data['name'];
$this->_target = $data['target'];
$this->_percent = $data['percent'];
$this->_notes = $data['notes'];
}
/* Get the name. */
public function getName() {
return $this->_name;
}
/* Get the target name. */
public function getTarget() {
return $this->_target;
}
/* Get the complete percentage. */
public function getPercent() {
return $this->_percent;
}
/* Get the notes. */
public function getNotes() {
return $this->_notes;
}
}
?>