Package | Description |
---|---|
commandcenter | |
gameInterface | |
structs |
Modifier and Type | Method and Description |
---|---|
Key |
CommandCenter.getSkillKey()
Gets the current Key data.
|
Modifier and Type | Method and Description |
---|---|
Key |
AIInterface.input()
This method receives key inputted from AI.
|
Modifier and Type | Method and Description |
---|---|
Key |
ReplayCharacterData.getKey() |
Key[] |
KeyData.getKey() |
Key |
KeyData.getMyKey(boolean playerNumber)
Returns Key of your player character with the parameter player, returned from the method initialize in AIInterface.
|
Key |
KeyData.getOpponentKey(boolean playerNumber)
Returns Key of the opponent' player character with the parameter player, returned from the method initialize in AIInterface.
|
Key |
KeyData.getPlayerOne()
Returns P1's input.
|
Key |
KeyData.getPlayerTwo()
Returns P2's input.
|
Modifier and Type | Method and Description |
---|---|
void |
ReplayCharacterData.setKey(Key key) |
void |
KeyData.setPlayerOne(Key playerOne)
Sets playerOne's input to P1.
|
void |
KeyData.setPlayerTwo(Key playerTwo)
Sets playerTwo's input to P2.
|
Constructor and Description |
---|
Key(Key key) |
KeyData(Key[] keys)
Create KeyData from two inputs of Key
|