SFS2X Objective-C API  1.7.13
iOS / macOS / tvOS
BoolMatch.h
1 //
2 // BoolMatch.h
3 // SFS2X
4 //
5 // Original development by Infosfer Game Technologies Ltd. | http://www.infosfer.com.
6 //
7 // Maintained and developed by A51 Integrated.
8 // Copyright 2012 A51 Integrated | http://a51integrated.com. All rights reserved.
9 ///
10 
11 #import "IMatcher.h"
12 
13 
14 /** This matcher is used in MatchExpressions to check boolean conditions
15 
16  @see MatchExpression
17  */
18 @interface BoolMatch : NSObject <IMatcher>{
19 @private
20  NSString *_symbol;
21 }
22 
23 @property (weak, readonly) NSString *symbol;
24 
25 -(id)initWithSymbol:(NSString *)symbol;
26 
27 /** Checks that Bool1 == Bool2 */
28 +(BoolMatch *)boolMatchEquals;
29 
30 /** Checks that Bool1 != Bool2 */
31 +(BoolMatch *)boolMatchNotEquals;
32 
33 @end
BoolMatch
Definition: BoolMatch.h:18