00001 #ifndef HEADER_ONCONDITION_H 00002 #define HEADER_ONCONDITION_H 00003 00004 class Cube; 00005 00006 /** 00007 * Test condition. 00008 */ 00009 class OnCondition { 00010 public: 00011 virtual ~OnCondition() {} 00012 00013 virtual bool isSatisfy(Cube *model) const = 0; 00014 virtual bool isWrong(Cube *model) const = 0; 00015 }; 00016 00017 #endif