|
|||||||||
前 次 | フレームあり フレームなし |
jp.ac.washi.quinte.api での Direction の使用 |
---|
Direction を返す jp.ac.washi.quinte.api のメソッド | |
---|---|
static Direction[] |
PathSearch.getNowReachablePath(MapInfo map,
Point from,
Point to,
CountryInfo myCountry)
現時点で兵士が移動できるタイル(ゲート、もしくは所有している道)のみで構成される到達経路で、 指定された開始位置から指定された目的地まで到達するための移動手順の配列を返します。 |
static Direction[] |
PathSearch.getNowReachablePath(MapInfo map,
Point from,
Point to,
CountryInfo myCountry,
Direction[] directions)
指定された方向だけの現時点で兵士が移動できるタイル(ゲート、もしくは所有している道)のみで構成される到達経路で、 指定された開始位置から指定された目的地まで到達するための移動手順の配列を返します。 |
static Direction[] |
PathSearch.getPath(MapInfo map,
Point from,
Point to)
推奨されていません。 |
static Direction[] |
PathSearch.getPath(MapInfo map,
Point from,
Point to,
CountryInfo myCountry)
推奨されていません。 |
static Direction[] |
PathSearch.getPath(MapInfo map,
Point from,
Point to,
CountryInfo myCountry,
Direction[] directions)
推奨されていません。 |
static Direction[] |
PathSearch.getPath(MapInfo map,
Point from,
Point to,
Direction[] directions)
推奨されていません。 |
static Direction[] |
PathSearch.getPath(MapInfo map,
Point from,
Point to,
Direction[] directions,
MovableChecker movableChecker)
指定された方向だけで、指定された開始位置から指定された目的地まで到達するための移動手順の配列を返します。 |
static Direction[] |
PathSearch.getPath(MapInfo map,
Point from,
Point to,
MovableChecker movableChecker)
指定された開始位置から指定された目的地まで到達するための移動手順の配列を返します。 |
static Direction[] |
PathSearch.getReachablePath(MapInfo map,
Point from,
Point to)
所有国を考慮せずに兵士が移動可能なタイル(ゲート、もしくは道)のみで構成される到達経路で、 指定された開始位置から指定された目的地まで到達するための移動手順の配列を返します。 |
static Direction[] |
PathSearch.getReachablePath(MapInfo map,
Point from,
Point to,
Direction[] directions)
指定された方向だけの所有国を考慮せずに兵士が移動可能なタイル(ゲート、もしくは道)のみで構成される到達経路で、 指定された開始位置から指定された目的地まで到達するための移動手順の配列を返します。 |
Direction |
SoldierAction.toDirection()
この兵士の命令オブジェクトを方向オブジェクトに変換します. |
static Direction |
Direction.valueOf(java.lang.String name)
指定した名前を持つこの型の列挙型定数を返します。 |
static Direction[] |
Direction.values()
この列挙型の定数を含む配列を宣言されている順序で返します。 |
Direction 型のパラメータを持つ jp.ac.washi.quinte.api のメソッド | |
---|---|
static SoldierAction |
SoldierAction.fromDirection(Direction direction)
方向オブジェクトを兵士の命令オブジェクトに変換します. |
static Direction[] |
PathSearch.getNowReachablePath(MapInfo map,
Point from,
Point to,
CountryInfo myCountry,
Direction[] directions)
指定された方向だけの現時点で兵士が移動できるタイル(ゲート、もしくは所有している道)のみで構成される到達経路で、 指定された開始位置から指定された目的地まで到達するための移動手順の配列を返します。 |
static Direction[] |
PathSearch.getPath(MapInfo map,
Point from,
Point to,
CountryInfo myCountry,
Direction[] directions)
推奨されていません。 |
static Direction[] |
PathSearch.getPath(MapInfo map,
Point from,
Point to,
Direction[] directions)
推奨されていません。 |
static Direction[] |
PathSearch.getPath(MapInfo map,
Point from,
Point to,
Direction[] directions,
MovableChecker movableChecker)
指定された方向だけで、指定された開始位置から指定された目的地まで到達するための移動手順の配列を返します。 |
static Direction[] |
PathSearch.getReachablePath(MapInfo map,
Point from,
Point to,
Direction[] directions)
指定された方向だけの所有国を考慮せずに兵士が移動可能なタイル(ゲート、もしくは道)のみで構成される到達経路で、 指定された開始位置から指定された目的地まで到達するための移動手順の配列を返します。 |
|
|||||||||
前 次 | フレームあり フレームなし |