My Project
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
osl::rating::BadLance Class Reference

#include <feature.h>

Inheritance diagram for osl::rating::BadLance:
osl::rating::Feature

Public Member Functions

 BadLance (bool h)
 
bool match (const NumEffectState &state, Move move, const RatingEnv &) 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
 

Static Public Member Functions

static bool basicMatch (const NumEffectState &state, Move move, Square front)
 

Private Attributes

bool has_effect
 

Detailed Description

Definition at line 217 of file rating/feature.h.

Constructor & Destructor Documentation

◆ BadLance()

osl::rating::BadLance::BadLance ( bool  h)
inlineexplicit

Definition at line 221 of file rating/feature.h.

Member Function Documentation

◆ basicMatch()

static bool osl::rating::BadLance::basicMatch ( const NumEffectState state,
Move  move,
Square  front 
)
inlinestatic

◆ match()

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

Member Data Documentation

◆ has_effect

bool osl::rating::BadLance::has_effect
private

Definition at line 219 of file rating/feature.h.

Referenced by match().


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