Packagecom.smartfoxserver.v2.requests.mmo
Classpublic class MapLimits
InheritanceMapLimits Inheritance Object

The MapLimits class is used to set the limits of the virtual environment represented by an MMORoom when creating it. The limits represent the minimum and maximum coordinate values (2D or 3D) that the MMORoom should expect.

See also

MMORoomSettings
MMORoom
Vec3D


Public Properties
 PropertyDefined By
  higherLimit : Vec3D
[read-only] Returns the higher coordinates limit of the virtual environment along the X,Y,Z axes.
MapLimits
  lowerLimit : Vec3D
[read-only] Returns the lower coordinates limit of the virtual environment along the X,Y,Z axes.
MapLimits
Public Methods
 MethodDefined By
  
MapLimits(lowerLimit:Vec3D, higherLimit:Vec3D)
Creates a new MapLimits instance.
MapLimits
Property Detail
higherLimitproperty
higherLimit:Vec3D  [read-only]

Returns the higher coordinates limit of the virtual environment along the X,Y,Z axes.


Implementation
    public function get higherLimit():Vec3D
lowerLimitproperty 
lowerLimit:Vec3D  [read-only]

Returns the lower coordinates limit of the virtual environment along the X,Y,Z axes.


Implementation
    public function get lowerLimit():Vec3D
Constructor Detail
MapLimits()Constructor
public function MapLimits(lowerLimit:Vec3D, higherLimit:Vec3D)

Creates a new MapLimits instance. The MMORoomSettings.mapLimits property must be set to this instance during the MMORoom creation.

Parameters
lowerLimit:Vec3D — The lower coordinates limit of the virtual environment along the X,Y,Z axes.
 
higherLimit:Vec3D — The higher coordinates limit of the virtual environment along the X,Y,Z axes.

See also

MMORoomSettings.mapLimits