This is class from manipulationg with field. Field is unit on map x,y.This field contains 8 parts. They can be accessed by number of by name or by letter:
0 n north
1 e east
2 s south
3 w west
4 f floor
5 c ceiling
6 o object
7 r oorientation
or it can be called dynamically to actual party orientation by: l left
r right
i front
b back
[part] - return id of part of this square.
get - return id of part of this square. $param part part of this square
items - Items on this square.
set - set new id to part of this square. $param part part of this square $param newid id of object $^grObject
showItems - Show items on map.
x - x position on map
y - y position on map
[part] return id of part of this square.
get return id of part of this square. $param part part of this square
items Items on this square.
Returns
set set new id to part of this square. $param part part of this square $param newid id of object $^grObject
showItems Items on map can be placed as invisible by setting parameter "visible" to false. This is done automatically, when you create new item and place them to square where is some object. Show items sets value "visible" to true for all hidden items and returns count.
Returns found boolean if any item has been found
x
y
Generated by Hideoshi's Documentation Tool on 28.10.2003 20:08:55