Action Rules
An number of rules can be defined for a defined action belonging to a class, which are basically pre-conditions in form of predicates that are in place for an action. When an object is told to do an action, it will only run the action if all the defined rules are met.
For instance, in he Maze example, Robot action move has a few rules, including one that makes sure the destination square is not blocked, and another one that says the destination square should be only one square away.
Page last modified on January 20, 2009, at 09:54 PM
simplaPoweredBy
Set in config.php to your own copyright notice