Palanthir Object Reference

OBJECT DESCRIPTION

Name: POS

Description:
Represents a Pos object.


Methods:

getblockidgetdistancetoisinrectrange       

Properties:

mapxyz     

OBJECT METHODS

getblockid()

Return Value:
Integer

Description:
Returns the id of the worldblock where the position is.

Back to top


getdistanceto(pos)

- pos
Target position.

Return Value:
Double

Description:
Returns distance between the to positions.

Back to top
isinrectrange(pos, range)

- pos
Target position.

- range
Range to check.

Return Value:
bool

Description:
Returns 1 if the position is within a square around the given position with the given range.

Back to top

OBJECT PROPERTIES


map

Description:
(readonly)

Back to top
x

Description:
(readonly)

Back to top
y

Description:
(readonly)

Back to top
z

Description:
(readonly)

Back to top

Back to the Object Overview
Back to the Palanthir Reference

Generated: 17.08.2006 20:26 | Version: Palanthir 243
© Varan | http://varan.uodev.de