<?php
/**
* SoldatPlayer class
*
* Stores Soldat player information.
*
* @copyright 2009 Tomaž Muraus
* @license http://www.gnu.org/copyleft/gpl.html GPL License
* @version Release: 1.0
* @link http://www.tomaz-muraus.info
*/
class SoldatPlayer
{
protected $_name;
protected $_team;
protected $_score;
protected $_ping;
protected $_time;
/**
* Constructor.
*
* @param string $name Player name.
* @param string $team Player team.
* @param int $score Player score (kills).
* @param int $ping Player ping.
* @param int $time Player time (in minutes).
*/
public function __construct($name, $team, $score, $ping, $time)
{
$this->_name = $name;
$this->_team = $team;
$this->_score = $score;
$this->_ping = $ping;
$this->_time = $time;
}
public function getName()
{
return $this->_name;
}
public function getTeam()
{
return $this->_team;
}
public function getScore()
{
return $this->_score;
}
public function getPing()
{
return $this->_ping;
}
public function getTime()
{
return $this->_time;
}
}
/* End of file SoldatPlayer.php */
/* Location: ./SoldatPlayer.php */