Skip navigation links
A C D E F G H I K L M O P Q R S T U V W X Y 

G

GameConstants - Class in aic2021.user
Class containing all constants used in the game.
GameConstants() - Constructor for class aic2021.user.GameConstants
 
gatherResources() - Method in interface aic2021.user.UnitController
Attempts to gather the resources at this unit's location.
getAmount() - Method in class aic2021.user.ResourceInfo
Returns the given resource amount.
getAttack() - Method in class aic2021.user.UnitInfo
Returns this unit's attack.
getAttack() - Method in enum aic2021.user.UnitType
Returns the attack power of this unit type.
getAttackCooldown() - Method in class aic2021.user.UnitInfo
Returns this unit's intrinsic attack coold.own It costs 1 energy.
getAttackCooldown() - Method in enum aic2021.user.UnitType
RReturns the attack cooldown of this unit type.
getAttackRange() - Method in enum aic2021.user.UnitType
Returns the attack range of this unit type.
getConstructionTurns() - Method in class aic2021.user.UnitInfo
Returns this unit's remaining construction turns.
getCurrentAttackCooldown() - Method in class aic2021.user.UnitInfo
Returns this unit's current attack cooldown.
getCurrentMovementCooldown() - Method in class aic2021.user.UnitInfo
Returns this unit's current movement cooldown.
getDetectionLevel() - Method in class aic2021.user.UnitInfo
Returns this unit's detection level.
getDetectionLevel() - Method in enum aic2021.user.UnitType
Returns the detection level of this unit type.
getDirection(int, int) - Static method in enum aic2021.user.Direction
Computes the direction that moves the closest from (0,0) to (dx,dy).
getDuration() - Method in class aic2021.user.FireInfo
Returns the duration of the fire.
getEnergyLeft() - Method in interface aic2021.user.UnitController
Returns this unit's remaining energy.
getEnergyUsed() - Method in interface aic2021.user.UnitController
Returns the energy used by this unit so far.
getFoodCost() - Method in enum aic2021.user.Technology
Returns the food cost of researching this technology.
getFoodCost() - Method in enum aic2021.user.UnitType
Returns the required food to build this unit or structure.
getHealth() - Method in class aic2021.user.UnitInfo
Returns this unit's health.
getID() - Method in class aic2021.user.UnitInfo
Returns this unit's identifying number.
getInfo() - Method in interface aic2021.user.UnitController
Returns the information about this unit.
getIntensity() - Method in class aic2021.user.FireInfo
Returns the luminous intensity of the fire.
getLevelRequired() - Method in enum aic2021.user.Technology
Returns the level required to investigate this technology.
getLocation() - Method in class aic2021.user.FireInfo
Returns the fire location.
getLocation() - Method in class aic2021.user.ResourceInfo
Returns the given resource location.
getLocation() - Method in interface aic2021.user.UnitController
Returns the location of this unit.
getLocation() - Method in class aic2021.user.UnitInfo
Returns this unit's location.
getLuminousIntensity() - Method in enum aic2021.user.UnitType
Returns the luminous intensity of this unit type.
getMaxHealth() - Method in class aic2021.user.UnitInfo
Returns this unit's maximum health.
getMaxHealth() - Method in enum aic2021.user.UnitType
Returns the maximum health points of this unit type.
getMaxTotalUnits() - Method in interface aic2021.user.UnitController
Returns the maximum number of units that this team can have.
getMinAttackRange() - Method in enum aic2021.user.UnitType
Returns the minimum attack range of this unit type.
getMovementCooldown() - Method in class aic2021.user.UnitInfo
Returns this unit's intrinsic movement cooldown.
getMovementCooldown() - Method in enum aic2021.user.UnitType
Returns the movement cooldown of this unit type.
getMovementRange() - Method in enum aic2021.user.UnitType
Returns the movement range of this unit type.
getOpponent() - Method in enum aic2021.user.Team
Returns the opponent team.
getOpponent() - Method in interface aic2021.user.UnitController
Returns this unit's opponent.
getPercentageOfEnergyLeft() - Method in interface aic2021.user.UnitController
Returns the fraction of remaining energy over this unit's total energy.
getPercentageOfEnergyUsed() - Method in interface aic2021.user.UnitController
Returns the percentage of this unit's total energy used so far.
getRandomDouble() - Method in interface aic2021.user.UnitController
Returns a randomly generated double.
getResource(Resource) - Method in interface aic2021.user.UnitController
Returns the amount of resource of a given type available for this team.
getResourcesCarried() - Method in interface aic2021.user.UnitController
Returns an array with the amount of resources being carried by this unit.
getResourceType() - Method in class aic2021.user.ResourceInfo
Returns the given resource type.
getRound() - Method in interface aic2021.user.UnitController
Returns current game round.
getStoneCost() - Method in enum aic2021.user.Technology
Returns the stone cost of researching this technology.
getStoneCost() - Method in enum aic2021.user.UnitType
Returns the required stone to build this unit or structure.
getTeam() - Method in interface aic2021.user.UnitController
Returns this unit's team.
getTeam() - Method in class aic2021.user.UnitInfo
Returns this unit's team.
getTechLevel(Team) - Method in interface aic2021.user.UnitController
Returns the given team's technology level.
getTorchIntensity() - Method in class aic2021.user.UnitInfo
Returns this unit's torch luminous intensity.
getTorchRounds() - Method in class aic2021.user.UnitInfo
Returns this unit's torch remaining rounds.
getTorchThrowRange() - Method in enum aic2021.user.UnitType
Returns the torch throw range of this unit type.
getTotalCost() - Method in enum aic2021.user.UnitType
Returns the total required resources to build this unit or structure.
getTotalUnits() - Method in interface aic2021.user.UnitController
Returns the total number of units in this team.
getType() - Method in interface aic2021.user.UnitController
Returns the type of this unit.
getType() - Method in class aic2021.user.UnitInfo
Returns this unit's type.
getVisibleLocations(int, boolean) - Method in interface aic2021.user.UnitController
Returns an array with all visible locations inside a given radius.
getVisibleLocations(boolean) - Method in interface aic2021.user.UnitController
Returns an array with all visible locations inside the unit's vision radius.
getVisibleLocations() - Method in interface aic2021.user.UnitController
Returns an array with all locations that can be sensed by this unit.
getVisionRange() - Method in enum aic2021.user.UnitType
Returns the vision range of this unit type (in square units).
getWoodCost() - Method in enum aic2021.user.Technology
Returns the wood cost of researching this technology.
getWoodCost() - Method in enum aic2021.user.UnitType
Returns the required wood to build this unit or structure.
A C D E F G H I K L M O P Q R S T U V W X Y 
Skip navigation links