|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
public interface GameInfo
このインターフェースはゲーム全体に関する情報を提供します。 ゲームに必要な情報は、すべてこのクラスを起点として提供されます。
メソッドの概要 | |
---|---|
CountryInfo |
getLeftCountry()
自国から見て左側の国の情報を持つCountryInfoを返します。 |
MapInfo |
getMap()
マップの情報を持つMapInfoを返します。 |
Point |
getMyCenterGateLocation()
自国の大ゲートの位置を返します。 |
CountryInfo |
getMyCountry()
自国の情報を持つCountryInfoを返します。 |
CursorInfo |
getMyCursor()
自国のカーソルの情報を持つCursorInfoを返します。 |
Point |
getMyLeftGateLocation()
自国の左小ゲートの位置を返します。 |
Point |
getMyRightGateLocation()
自国の右小ゲートの位置を返します。 |
SoldierInfo |
getMySoldier()
自国の兵士の情報を持つSoldierInfoを返します。 |
CountryInfo |
getOppositeCountry()
自国から見て反対側の国の情報を持つCountryInfoを返します。 |
CountryInfo |
getRightCountry()
自国から見て右側の国の情報を持つCountryInfoを返します。 |
int |
getTime()
ゲームの残り時間を返します。 |
メソッドの詳細 |
---|
CountryInfo getLeftCountry()
MapInfo getMap()
Point getMyCenterGateLocation()
CountryInfo getMyCountry()
CursorInfo getMyCursor()
Point getMyLeftGateLocation()
Point getMyRightGateLocation()
SoldierInfo getMySoldier()
CountryInfo getOppositeCountry()
CountryInfo getRightCountry()
int getTime()
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |