Package | Description |
---|---|
client.networking | |
server.ai | |
server.ai.characters | |
server.commands.game | |
server.model | |
shared.definitions | |
shared.networking | |
shared.networking.parameter |
Modifier and Type | Method and Description |
---|---|
java.util.List<AIType> |
ServerProxy.listAI() |
java.util.List<AIType> |
RealEarlyServerProxy.listAI() |
java.util.List<AIType> |
MockServerProxy.listAI() |
java.util.List<AIType> |
GSONServerProxy.listAI() |
java.util.List<AIType> |
EarlyServerProxy.listAI() |
Modifier and Type | Method and Description |
---|---|
void |
ServerProxy.addAI(AIType aiType)
Adds an AI to the game
|
void |
RealEarlyServerProxy.addAI(AIType aiType) |
void |
MockServerProxy.addAI(AIType aiType)
Adds an AI to the game
|
void |
GSONServerProxy.addAI(AIType aiType) |
void |
EarlyServerProxy.addAI(AIType aiType)
Adds an AI to the game
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<AIType,java.util.Set<AI>> |
AIHandler.AIbyType |
Modifier and Type | Method and Description |
---|---|
int |
AIHandler.GetAI(AIType type,
java.util.List<java.lang.Integer> inGame)
Gets a random AI associated with the desired type.
|
Modifier and Type | Field and Description |
---|---|
private AIType |
AI.type |
Modifier and Type | Method and Description |
---|---|
AIType |
AI.GetType()
Gets the AI type of the AI.
|
Constructor and Description |
---|
AI(AIType type,
Personality personality)
Constructs AI object.
|
Modifier and Type | Field and Description |
---|---|
private AIType |
GameCommandFactory.AddAIBuilder.type |
private AIType |
GameAddAICommand.type |
Constructor and Description |
---|
GameAddAICommand(NetworkCookie cookie,
AIType type)
Creates a command to add a certain type of AI to the game.
|
Modifier and Type | Method and Description |
---|---|
boolean |
GameTable.AddAI(int playerID,
int gameID,
AIType type)
Adds an AI to the game
|
Modifier and Type | Method and Description |
---|---|
static AIType |
AIType.fromString(java.lang.String type) |
static AIType |
AIType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AIType[] |
AIType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
AIType.toString(AIType type) |
Modifier and Type | Method and Description |
---|---|
java.util.List<AIType> |
JSONDeserializer.parseAIList(java.lang.String rawData) |
java.util.List<AIType> |
Deserializer.parseAIList(java.lang.String rawData)
Parses JSON data into an AI Type
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
Serializer.sAddAIReq(AIType aitype)
Serializes a request to add AI to a game
|
java.lang.String |
JSONSerializer.sAddAIReq(AIType aitype) |
Modifier and Type | Method and Description |
---|---|
AIType |
PAddAI.getAiType() |
Modifier and Type | Method and Description |
---|---|
void |
PAddAI.setAiType(AIType aiType) |
Constructor and Description |
---|
PAddAI(AIType aiType) |