?? class_room.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 + -