POT
POT
POT
Main menu

Download

Forum

SVN

Class: OTS_MapCoords

Source Location: /classes/OTS_MapCoords.php

Class OTS_MapCoords

Class Overview

Map position point.

Map position point.

Located in /classes/OTS_MapCoords.php [line 27]



		
				Author(s):
		
API Tags:
Property-read:  int $x: X coord.
Property-read:  int $y: Y coord.
Property-read:  int $z: Z coord.

Information Tags:
Version:  0.1.0
Version:  0.0.6
Since:  0.0.6

Methods

[ Top ]
Descendants
Child Class Description
OTS_Waypoint Map track waypoint.

[ Top ]
Method Summary
static void   __set_state()   Magic PHP5 method.
OTS_MapCoords   __construct()   Sets coords for point.
int   getX()   Returns X.
int   getY()   Returns Y.
int   getZ()   Returns Z.
mixed   __get()   Magic PHP5 method.

[ Top ]
Methods
static method __set_state  [line 73]

  static void __set_state( array $properties  )

Magic PHP5 method.

Magic PHP5 method. Allows object importing from var_export().

Parameters:
array   $properties:  List of object properties.

API Tags:
Access:  public

Information Tags:
Version:  0.0.6
Since:  0.0.6

Redefined in descendants as:

[ Top ]
Constructor __construct  [line 57]

  OTS_MapCoords __construct( int $x, int $y, int $z  )

Sets coords for point.

Sets coords for point.

Parameters:
int   $x:  X.
int   $y:  Y.
int   $z:  Z.

API Tags:
Access:  public

Information Tags:
Version:  0.0.6
Since:  0.0.6

Redefined in descendants as:

[ Top ]
getX  [line 83]

  int getX( )

Returns X.

Returns X.


API Tags:
Return:  X.
Access:  public

Information Tags:
Version:  0.0.6
Since:  0.0.6

[ Top ]
getY  [line 93]

  int getY( )

Returns Y.

Returns Y.


API Tags:
Return:  Y.
Access:  public

Information Tags:
Version:  0.0.6
Since:  0.0.6

[ Top ]
getZ  [line 103]

  int getZ( )

Returns Z.

Returns Z.


API Tags:
Return:  Z.
Access:  public

Information Tags:
Version:  0.0.6
Since:  0.0.6

[ Top ]
__get  [line 117]

  mixed __get( string $name  )

Magic PHP5 method.

Magic PHP5 method.

Parameters:
string   $name:  Property name.

API Tags:
Return:  Property value.
Access:  public

Information Tags:
Version:  0.1.0
Version:  0.0.6
Throws:  OutOfBoundsException For non-supported properties.
Since:  0.1.0
Since:  0.0.6

Redefined in descendants as:

[ Top ]