⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 class_room.php

📁 一个基于web的rpg游戏源代码
💻 PHP
字号:
<?php/*** Netlands World Server is the coordinator of the VR in the Netlands Project* Copyright (C) 2002 Ricard Pillosu* * This program is free software; you can redistribute it and/or* modify it under the terms of the GNU General Public License* as published by the Free Software Foundation; either version 2* of the License, or (at your option) any later version.* * This program is distributed in the hope that it will be useful,* but WITHOUT ANY WARRANTY; without even the implied warranty of* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the* GNU General Public License for more details.* * You should have received a copy of the GNU General Public License* along with this program; if not, write to the Free Software* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.*//* vim: set expandtab tabstop=4 shiftwidth=4 *//*** The rooms are defined here.** This class defines the space unity in the VR. It's an abstract* representation of the space in the world. It can have any shape or* size. It's the only class that can contain characters. If you want chars* into an objekt, put rooms into them.** @see entity* @see room** @version $Id: class_room.php,v 1.2 2002/09/23 19:07:54 doneval Exp $* @author Ricard Pillosu <ricardpillosu@dorna.com>* @copyright Ricard Pillosu 2002* @since Sun, 04 Aug 2002 15:13:32 +0200*/class room extends entity {    /**    * Init vars    * @param object $entity_list    the reference to the list where I belong    * @param string $key            The key to be used by this entity    */    function __construct(&$entity_list, $key = NULL) {        global $config;        parent::__construct($entity_list, $key);        $this->type = entity_list::T_ROOM;    }}?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -