43 lines
914 B
PHP
43 lines
914 B
PHP
|
<?php
|
||
|
include_once("Class/user.php");
|
||
|
/***************************************************************************
|
||
|
* class.SURFACE.php
|
||
|
* -------------------
|
||
|
* begin : Jeudi 21 août 2008
|
||
|
* update : Dimanche 8 février 2009
|
||
|
* email : nemunaire@gmail.com
|
||
|
*
|
||
|
*
|
||
|
***************************************************************************/
|
||
|
class SURFACE extends User
|
||
|
{
|
||
|
var $id = 0,
|
||
|
$galaxie,
|
||
|
$ss,
|
||
|
$image,
|
||
|
$debris_met,
|
||
|
$debris_cri,
|
||
|
$metal,
|
||
|
$cristal,
|
||
|
$hydrogene,
|
||
|
$alert_ressources = array(false, false, false),
|
||
|
$timestamp,
|
||
|
$file_bat,
|
||
|
$file_vais,
|
||
|
$isolement = false,
|
||
|
$batiments = array(),
|
||
|
$vaisseaux = array(),
|
||
|
$modif = array();
|
||
|
|
||
|
function isolement()
|
||
|
{
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
function addModif($modif)
|
||
|
{
|
||
|
if (!in_array($modif, $this->modif))
|
||
|
$this->modif[] = $modif;
|
||
|
}
|
||
|
}
|
||
|
?>
|