class_zone
Indigo/class_zone · 513 B
From the archive indigo001.tgz
Download the archive « Back to the archive contents
<?
class Zone {
var $name; /* ::gryn:: take a guess */
var $startroom_id; /* personal prompt */
var $endroom_id; /* Socket descriptor */
var $author; /* Connected state for player */
function Zone() {
$this->name = "My Area";
$this->startroom_id = 1;
$this->endroom_id = 1;
}
};
class Room extends Zone {
var $id;
var $name;
var $description;
function Room( $id = 1 ) {
$this->id = $id;
$this->name = "Limbo";
$this->description = "You are floating in limbo la-la land.";
}
};
?>