- GameConstants - Class in aic2025.user
-
Class containing all constants used in the game.
- GameConstants() - Constructor for class aic2025.user.GameConstants
-
- gather() - Method in interface aic2025.user.UnitController
-
Gathers the material at this location (without craftables).
- GATHER_COOLDOWN - Static variable in class aic2025.user.GameConstants
-
Action and movement cooldown added by gathering (without accounting weight).
- gatheringTool() - Method in enum aic2025.user.Material
-
Returns which tool can be used to gather this type of material.
- getAllBedsInfo() - Method in interface aic2025.user.UnitController
-
Returns the bed info of all beds owned by the own team.
- getBeacons() - Method in interface aic2025.user.UnitController
-
Returns the number of beacons placed by the team.
- getBed() - Method in interface aic2025.user.UnitController
-
Returns the location of the bed associated to this unit.
- getBedInfo(Location) - Method in interface aic2025.user.UnitController
-
Returns the bed info of the bed in the given location, or null if there is no bed.
- getCarriedCraftables() - Method in class aic2025.user.UnitInfo
-
Returns the craftables carried by this unit (position [i][j] contains the number of craftables of type i with upgrade j).
- getCarriedCraftablesArray() - Method in class aic2025.user.UnitInfo
-
Returns an array with the carried craftables.
- getCarriedMaterials() - Method in class aic2025.user.UnitInfo
-
Returns the materials carried by this unit.
- getCooldownTurns() - Method in class aic2025.user.BedInfo
-
Returns the cooldown turns of this bed.
- getCraftable() - Method in class aic2025.user.CraftableInfo
-
Returns the craftable item.
- getCraftablesAtChest(Location) - Method in interface aic2025.user.UnitController
-
Returns an array of craftables contained inside the chest in the specified location.
- getCraftablesAtChestList(Location) - Method in interface aic2025.user.UnitController
-
Returns an array of craftables contained inside the chest in the specified location.
- getCraftedBeacons() - Method in interface aic2025.user.UnitController
-
Returns the number of beacons crafted by the team from the start of the game (counts those that were destroyed as well).
- getCurrentActionCooldown() - Method in class aic2025.user.UnitInfo
-
Returns this unit's current action cooldown.
- getCurrentMovementCooldown() - Method in class aic2025.user.UnitInfo
-
Returns this unit's current movement cooldown.
- getDirection(int, int) - Static method in enum aic2025.user.Direction
-
Computes the direction that moves the closest from (0,0) to (dx,dy).
- getEnergyLeft() - Method in interface aic2025.user.UnitController
-
Returns this unit's remaining energy.
- getEnergyUsed() - Method in interface aic2025.user.UnitController
-
Returns the energy used by this unit so far.
- getHealth() - Method in class aic2025.user.StructureInfo
-
Returns this structure's health.
- getHealth() - Method in class aic2025.user.UnitInfo
-
Returns the health of this unit.
- getID() - Method in class aic2025.user.BroadcastInfo
-
Returns the ID of the sender.
- getID() - Method in interface aic2025.user.UnitController
-
Returns the ID of this unit.
- getID() - Method in class aic2025.user.UnitInfo
-
Returns this unit's identifying number.
- getLocation() - Method in class aic2025.user.BedInfo
-
Returns this bed's location.
- getLocation() - Method in class aic2025.user.BroadcastInfo
-
Returns the location of the sender.
- getLocation() - Method in class aic2025.user.MaterialInfo
-
Returns the material's location.
- getLocation() - Method in class aic2025.user.StructureInfo
-
Returns this structure's location.
- getLocation() - Method in interface aic2025.user.UnitController
-
Returns the location of this unit.
- getLocation() - Method in class aic2025.user.UnitInfo
-
Returns this unit's location.
- getMapHeight() - Method in interface aic2025.user.UnitController
-
Returns the height of the map.
- getMapWidth() - Method in interface aic2025.user.UnitController
-
Returns the width of the map.
- getMaterial() - Method in class aic2025.user.MaterialInfo
-
Returns the given material.
- getMaterialsAtChest(Location) - Method in interface aic2025.user.UnitController
-
Returns an array of materials contained inside the chest in the specified location.
- getMessage() - Method in class aic2025.user.BroadcastInfo
-
Returns the broadcast message.
- getNumberOfMaterials(Material) - Method in interface aic2025.user.UnitController
-
Returns the number of materials carried by the unit of the specified type.
- getOpponent() - Method in enum aic2025.user.Team
-
Returns the opponent team.
- getOpponent() - Method in interface aic2025.user.UnitController
-
Returns this unit's opponent.
- getPercentageOfEnergyLeft() - Method in interface aic2025.user.UnitController
-
Returns the fraction of remaining energy over this unit's total energy.
- getPercentageOfEnergyUsed() - Method in interface aic2025.user.UnitController
-
Returns the percentage of this unit's total energy used so far.
- getRandomDouble() - Method in interface aic2025.user.UnitController
-
Returns a randomly generated double.
- getRound() - Method in class aic2025.user.BroadcastInfo
-
Returns the round in which the message was broadcast.
- getRound() - Method in interface aic2025.user.UnitController
-
Returns current game round.
- getTeam() - Method in class aic2025.user.StructureInfo
-
Returns this structure's team.
- getTeam() - Method in interface aic2025.user.UnitController
-
Returns this unit's team.
- getTeam() - Method in class aic2025.user.UnitInfo
-
Returns this unit's team.
- getType() - Method in class aic2025.user.StructureInfo
-
Returns this structure's type.
- getUnitInfo() - Method in interface aic2025.user.UnitController
-
Returns the information about this unit.
- getUpgrade() - Method in class aic2025.user.CraftableInfo
-
Returns this craftable's current upgrade.
- getUpgrade(Craftable) - Method in interface aic2025.user.UnitController
-
Returns the highest upgrade of the given craftable owned by the unit.
- getUpgradeMaterial() - Method in enum aic2025.user.Upgrade
-
Returns the upgrade material associated with the given upgrade.
- getVisionRange() - Method in interface aic2025.user.UnitController
-
Returns the unit's vision range.
- getWeight(Upgrade) - Method in enum aic2025.user.Craftable
-
Returns the weight this craftable given the upgrade.
- getWeight() - Method in class aic2025.user.UnitInfo
-
Returns the weight of this unit.