- GameConstants - Class in aic2022.user
-
Class containing all constants used in the game.
- GameConstants() - Constructor for class aic2022.user.GameConstants
-
- getArtifacts() - Method in interface aic2022.user.UnitController
-
Returns an array with all the artifacts that this unit has in possession.
- getArtifactsInfo() - Method in class aic2022.user.ChestInfo
-
Returns the list of artifacts inside the chest.
- getArtifactsUsed() - Method in interface aic2022.user.UnitController
-
Returns the number of artifacts used by this unit.
- getBonus() - Method in class aic2022.user.ArtifactInfo
-
Returns how much the stat increases/decreases (in percentage).
- getChanceOneArtifact() - Method in enum aic2022.user.ChestType
-
Returns the chance of a chest of this type having one artifact.
- getChanceThreeArtifacts() - Method in enum aic2022.user.ChestType
-
Returns the chance of a chest of this type having three artifacts.
- getChanceTwoArtifacts() - Method in enum aic2022.user.ChestType
-
Returns the chance of a chest of this type having two artifacts.
- getConstructionTurns() - Method in class aic2022.user.UnitInfo
-
Returns this unit's remaining construction turns.
- getCurrentAbilityICooldown() - Method in class aic2022.user.UnitInfo
-
Returns this unit's current cooldown of its second ability.
- getCurrentAbilityIICooldown() - Method in class aic2022.user.UnitInfo
-
Returns this unit's current cooldown of its first ability.
- getCurrentAttackCooldown() - Method in class aic2022.user.UnitInfo
-
Returns this unit's current attack cooldown.
- getCurrentMovementCooldown() - Method in class aic2022.user.UnitInfo
-
Returns this unit's current movement cooldown.
- getDirection(int, int) - Static method in enum aic2022.user.Direction
-
Computes the direction that moves the closest from (0,0) to (dx,dy).
- getEnergyLeft() - Method in interface aic2022.user.UnitController
-
Returns this unit's remaining energy.
- getEnergyUsed() - Method in interface aic2022.user.UnitController
-
Returns the energy used by this unit so far.
- getGold() - Method in class aic2022.user.ChestInfo
-
Returns the gold in the chest.
- getGold() - Method in interface aic2022.user.UnitController
-
Returns your current gold.
- getHealth() - Method in class aic2022.user.ShrineInfo
-
Returns the town owner.
- getHealth() - Method in class aic2022.user.UnitInfo
-
Returns this unit's health.
- getID() - Method in class aic2022.user.UnitInfo
-
Returns this unit's identifying number.
- getInfluence() - Method in class aic2022.user.ShrineInfo
-
Returns the town owner.
- getInfo() - Method in interface aic2022.user.UnitController
-
Returns the information about this unit.
- getLevel() - Method in class aic2022.user.UnitInfo
-
Returns this unit's level.
- getLevelForFirstAbility() - Method in enum aic2022.user.UnitType
-
Returns the necessary level for this unit type to learn its first ability.
- getLevelForSecondAbility() - Method in enum aic2022.user.UnitType
-
Returns the necessary level for this unit type to learn its second ability.
- getLocation() - Method in class aic2022.user.ChestInfo
-
Returns the location of the chest.
- getLocation() - Method in class aic2022.user.ShrineInfo
-
Returns this shrine's location.
- getLocation() - Method in interface aic2022.user.UnitController
-
Returns the location of this unit.
- getLocation() - Method in class aic2022.user.UnitInfo
-
Returns this unit's location.
- getMaxGold() - Method in enum aic2022.user.ChestType
-
Returns the maximum amount of gold in a chest of this type.
- getMinGold() - Method in enum aic2022.user.ChestType
-
Returns the minimum amount of gold in a chest of this type.
- getMinimumValue() - Method in enum aic2022.user.UnitStat
-
Returns the minimum value that this stat can have.
- getOpponent() - Method in enum aic2022.user.Team
-
Returns the opponent team.
- getOpponent() - Method in interface aic2022.user.UnitController
-
Returns this unit's opponent.
- getOrientation() - Method in class aic2022.user.UnitInfo
-
Returns this unit's orientation.
- getOwner() - Method in class aic2022.user.ShrineInfo
-
Returns the town owner.
- getPercentageOfEnergyLeft() - Method in interface aic2022.user.UnitController
-
Returns the fraction of remaining energy over this unit's total energy.
- getPercentageOfEnergyUsed() - Method in interface aic2022.user.UnitController
-
Returns the percentage of this unit's total energy used so far.
- getRandomDouble() - Method in interface aic2022.user.UnitController
-
Returns a randomly generated double.
- getReputation() - Method in class aic2022.user.ChestInfo
-
Returns the reputation obtained by opening the chest.
- getReputation() - Method in enum aic2022.user.ChestType
-
Returns the reputation obtained when opening a chest of this type.
- getReputation() - Method in interface aic2022.user.UnitController
-
Returns your current reputation.
- getReputation(Team) - Method in interface aic2022.user.UnitController
-
Returns the reputation of the given team.
- getRound() - Method in interface aic2022.user.UnitController
-
Returns current game round.
- getStat() - Method in class aic2022.user.ArtifactInfo
-
Returns the stat modified by this artifact.
- getStat(UnitStat) - Method in class aic2022.user.UnitInfo
-
Returns the value of the given stat of this unit.
- getStat(UnitStat) - Method in enum aic2022.user.UnitType
-
Returns the value of the given stat.
- getTeam() - Method in interface aic2022.user.UnitController
-
Returns this unit's team.
- getTeam() - Method in class aic2022.user.UnitInfo
-
Returns this unit's team.
- getType() - Method in class aic2022.user.ChestInfo
-
Returns the chest type.
- getType() - Method in interface aic2022.user.UnitController
-
Returns the type of this unit.
- getType() - Method in class aic2022.user.UnitInfo
-
Returns this unit's type.
- getVisibleLocations(int) - Method in interface aic2022.user.UnitController
-
Returns an array with all visible locations inside the map and inside a given radius.
- getVisibleLocations() - Method in interface aic2022.user.UnitController
-
Returns an array with all locations that can be sensed by this unit.
- giveArtifact(int, Direction) - Method in interface aic2022.user.UnitController
-
Orders this unit to give target artifact to an allied unit following the given direction.
- GOLD_ROUND - Static variable in class aic2022.user.GameConstants
-
Amount of gold received each round.