jp.ac.washi.quinte.api
インタフェース GameInfo


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()
          ゲームの残り時間を返します。
 

メソッドの詳細

getLeftCountry

CountryInfo getLeftCountry()
自国から見て左側の国の情報を持つCountryInfoを返します。

戻り値:
自国から見て左側の国の情報を持つCountryInfo

getMap

MapInfo getMap()
マップの情報を持つMapInfoを返します。

戻り値:
マップの情報を持つMapInfo

getMyCenterGateLocation

Point getMyCenterGateLocation()
自国の大ゲートの位置を返します。

戻り値:
自国の大ゲートの位置

getMyCountry

CountryInfo getMyCountry()
自国の情報を持つCountryInfoを返します。

戻り値:
自国の情報を持つCountryInfo

getMyCursor

CursorInfo getMyCursor()
自国のカーソルの情報を持つCursorInfoを返します。

戻り値:
自国のカーソルの情報を持つCursorInfo

getMyLeftGateLocation

Point getMyLeftGateLocation()
自国の左小ゲートの位置を返します。

戻り値:
自国の左小ゲートの位置

getMyRightGateLocation

Point getMyRightGateLocation()
自国の右小ゲートの位置を返します。

戻り値:
自国の右小ゲートの位置

getMySoldier

SoldierInfo getMySoldier()
自国の兵士の情報を持つSoldierInfoを返します。

戻り値:
自国の兵士の情報を持つSoldierInfo

getOppositeCountry

CountryInfo getOppositeCountry()
自国から見て反対側の国の情報を持つCountryInfoを返します。

戻り値:
自国から見て反対側の国の情報を持つCountryInfo

getRightCountry

CountryInfo getRightCountry()
自国から見て右側の国の情報を持つCountryInfoを返します。

戻り値:
自国から見て右側の国の情報を持つCountryInfo

getTime

int getTime()
ゲームの残り時間を返します。

戻り値:
ゲームの残り時間