public interface AIInterface
Modifier and Type | Method and Description |
---|---|
void |
close()
This method finalizes AI.
|
void |
getInformation(FrameData frameData)
This method gets information from the game status in each frame.
|
int |
initialize(GameData gameData,
boolean playerNumber)
This method initializes AI, and it will be executed only once in the beginning of a game.
|
Key |
input()
The input method receives key inputting from AI.
|
void |
processing()
This method processes the data from AI.
|
int initialize(GameData gameData, boolean playerNumber)
gameData
- data that will not be changed during a gameplayerNumber
- playerNumber of selfGameData
void getInformation(FrameData frameData)
frameData
- data that will be changed each frameFrameData
void processing()
Key input()
Key
void close()