forked from halo-battle/game
Ajout d'une étape de linting dans DroneCi (#3)
Corrige un doublons laissé par le rebase semi-manuel Ajout d'une étape de linting dans DroneCi Fix linting Co-authored-by: Nigel Sheldon <nigelsheldon@live.fr> Reviewed-on: https://gitea.nemunai.re/halo-battle/game/pulls/3
This commit is contained in:
parent
5b17a7dbd7
commit
dd61d3b66b
263 changed files with 45327 additions and 42695 deletions
|
|
@ -11,33 +11,33 @@ include_once("Class/user.php");
|
|||
***************************************************************************/
|
||||
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();
|
||||
public $id = 0;
|
||||
public $galaxie;
|
||||
public $ss;
|
||||
public $image;
|
||||
public $debris_met;
|
||||
public $debris_cri;
|
||||
public $metal;
|
||||
public $cristal;
|
||||
public $hydrogene;
|
||||
public $alert_ressources = array(false, false, false);
|
||||
public $timestamp;
|
||||
public $file_bat;
|
||||
public $file_vais;
|
||||
public $isolement = false;
|
||||
public $batiments = array();
|
||||
public $vaisseaux = array();
|
||||
public $modif = array();
|
||||
|
||||
function isolement()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
public function isolement()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
function addModif($modif)
|
||||
{
|
||||
if (!in_array($modif, $this->modif))
|
||||
$this->modif[] = $modif;
|
||||
}
|
||||
public function addModif($modif)
|
||||
{
|
||||
if (!in_array($modif, $this->modif)) {
|
||||
$this->modif[] = $modif;
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue