Changes between Initial Version and Version 1 of RMS:Constraints


Ignore:
Timestamp:
Feb 23, 2008, 4:18:58 AM (16 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RMS:Constraints

    v1 v1  
     1== constraint(area) ==
     2This is the constructor. It defines the area the constraint(s) will pertain to.
     3== preventOverlap() ==
     4This method prevents an object or area from overlapping the defined area.
     5== preventExit() ==
     6This method forces an object or area to reamin within the defined area.
     7== distance(min, max) ==
     8This method defines the minimum and maximum distance an object or area can be from the defined area.
     9== surfaceDist(passable, min, max) ==
     10This method defines the minimum and maximum distance the defined area can be from a passable or impassable area (land and water basically).
     11== setObject(object) ==
     12This method defines the object(s) that must adhere to the constraints.
     13== setArea(area) ==
     14This method defines the area(s) that must adhere to the constraints.