A CC3NodeEvaluator performs some type of accept/reject evaluation on a CC3Node instance. More...
#import <CC3NodeSequencer.h>
Public Member Functions | |
(BOOL) | - evaluate: |
Static Public Member Functions | |
(id) | + evaluator |
The type of evaluation performed is determined by the subclass of CC3NodeEvaluator. A wide range of subclasses may be constructed to perform a variety of evaluations.
The central evaluation method evaluate: returns YES or NO, indicating whether the evaluator accepts or rejects the node.
- (BOOL) evaluate: | (CC3Node *) | aNode |
Performs the evaluation defined by this class on the specified node and returns YES if the node is accepted, or NO if it is rejected.
This default implementation always returns NO. Subclasses will override.
+ (id) evaluator |
Allocates and initializes an autoreleased instance.