All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Namespaces | Constant Groups | Functions
countMobility.h File Reference
#include "osl/state/numEffectState.h"
Include dependency graph for countMobility.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 osl
 attackDefense.h
 
 osl::mobility
 

Constant Groups

 osl
 attackDefense.h
 
 osl::mobility
 

Functions

template<Player P, bool All, bool Safe>
void osl::mobility::countMobilityBoth (const NumEffectState &state, Square pos, Offset o, int &countAll, int &countSafe)
 P : 駒pの持ち主 All : countAllを求めるかどうか? Safe : countAllを求めるかどうか? countAll : 利きに関係なく動けるマス countSafe : 相手の利きがない動けるマス 両方を求める More...
 
void osl::mobility::countMobilityBoth (Player P, const NumEffectState &state, Square pos, Offset o, int &countAll, int &countSafe)
 
int osl::mobility::countMobilityAll (Player pl, const NumEffectState &state, Square pos, Offset o)
 利きに関係なく動けるマスの数 More...
 
int osl::mobility::countMobilitySafe (Player pl, const NumEffectState &state, Square pos, Offset o)
 相手の利きがない動けるマスを求める More...