?? class_objekt.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 *//*** All things in the VR (rocks, cars, walls, water, tools, ...)** The purpose of the objekts. Note the "k" instead of the "c" in the name.* It's to not interfere the reserved word "object". Is a convention to point* to any "thing" in the VR.** @see entity** @version $Id: class_objekt.php,v 1.3 2002/09/29 02:31:52 doneval Exp $* @author Ricard Pillosu <ricardpillosu@dorna.com>* @copyright Ricard Pillosu 2002* @since Sun, 04 Aug 2002 15:13:32 +0200*/class objekt extends entity { /** * var string Key of the charcater we are offering this objekt */ var $offered_to; /** * 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_OBJK; $this->offered_to = "0"; }}?>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -