My Project
Public Member Functions | List of all members
osl::rating::FromEffect Class Reference

移動元へのきき。attack defense は言葉の意味と逆で自分がattack More...

#include <escape.h>

Inheritance diagram for osl::rating::FromEffect:
osl::rating::Feature osl::rating::CountEffect2

Public Member Functions

 FromEffect (int attack, int defense)
 
bool match (const NumEffectState &state, Move move, const RatingEnv &env) const
 
- Public Member Functions inherited from osl::rating::Feature
 Feature (const std::string &name)
 
virtual ~Feature ()
 
virtual bool effectiveInCheck () const
 
const std::string & name () const
 

Additional Inherited Members

- Private Member Functions inherited from osl::rating::CountEffect2
 CountEffect2 (int a, int d)
 
bool match (const NumEffectState &state, Square position, const RatingEnv &env) const
 
- Static Private Member Functions inherited from osl::rating::CountEffect2
static std::pair< int, int > count (const NumEffectState &state, Square position, const RatingEnv &env)
 
static std::string name (int attack, int defense)
 
static int index (const NumEffectState &state, Square position, const RatingEnv &env)
 
- Private Attributes inherited from osl::rating::CountEffect2
int attack
 
int defense
 
- Static Private Attributes inherited from osl::rating::CountEffect2
static const int Max = 2
 

Detailed Description

移動元へのきき。attack defense は言葉の意味と逆で自分がattack

Definition at line 14 of file feature/escape.h.

Constructor & Destructor Documentation

◆ FromEffect()

osl::rating::FromEffect::FromEffect ( int  attack,
int  defense 
)
inline

Definition at line 17 of file feature/escape.h.

Member Function Documentation

◆ match()

bool osl::rating::FromEffect::match ( const NumEffectState state,
Move  move,
const RatingEnv env 
) const
inlinevirtual

The documentation for this class was generated from the following file: