Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 7 and Version 8 of code/doc/SpaceBoundaries


Ignore:
Timestamp:
Mar 24, 2011, 2:16:29 PM (13 years ago)
Author:
smerkli
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • code/doc/SpaceBoundaries

    v7 v8  
    1212specify the attributes necessary for it to work.
    1313
     14The SpaceBoundaries object will do its work in the tick function, using an
     15Iterator of type MobileEntity. Via the interface of MobileEntity, we can then
     16control the pawns away from the boundary or do damage to them.
     17
    1418Goals of the implementation:
    1519 * Detection of pawns exiting the allowed range
     
    2428 * maxdistance - maximum distance pawns can move away from this point
    2529 * warndistance - distance at which pawns receive some kind of warning that they're about to reach
     30
     31== Actions taken when a pawn reaches the boundary ==
     32