classifier.cc
Go to the documentation of this file.
00001 /* classifier.cc
00002  */
00003 #include "osl/move_classifier/classifier.h"
00004 #include "osl/move_classifier/safeMove.h"
00005 #include "osl/move_classifier/check_.h"
00006 #include "osl/move_classifier/moveAdaptor.h"
00007 
00008 bool osl::move_classifier::
00009 Classifier::isSafeMove(const NumEffectState& state, Move move)
00010 {
00011     return ConditionAdaptor<SafeMove>::isMember(state, move);
00012 }
00013 
00014 bool osl::move_classifier::
00015 Classifier::isCheck(const NumEffectState& state, Move move)
00016 {
00017     return PlayerMoveAdaptor<Check>::isMember(state, move);
00018 }
00019 
00020 // ;;; Local Variables:
00021 // ;;; mode:c++
00022 // ;;; c-basic-offset:2
00023 // ;;; End:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines