<?php
class GameObject
{
private $id; // Entity ID //
private $type;
private $name;
private $description;
function __construct($id, $name, $desc, $type)
{
if ($id <= 0) return true;
$this->id = $id;
$this->name = $name;
$this->description = $desc;
$this->type = $type;
}
function getEID()
{
return $this->id;
}
function getType()
{
return $this->type;
}
function getName()
{
return $this->name;
}
function getDescription()
{
return $this->description;
}
}
?>