class_player

Indigo/class_player · 373 B

From the archive indigo001.tgz

Download the archive   « Back to the archive contents

<?
class Player {
	var $name;	/* ::gryn:: take a guess */
	var $prompt;    /* personal prompt */
	var $sock_id;	/* Socket descriptor */
	var $con;	/* Connected state for player */
	var $in_room;   /* Room number the player is standing in */

	function set_socket( $value )
	{
		$this->sock_id = $value;
	}

	function set_name( $value )
	{
		$this->name = $value;
	}
};

?>

Site Stats

Snippets: 1791
Codebases: 571