- DEER_FOOD - Static variable in class aic2021.user.GameConstants
-
Amount of food in the deposit created after killing a deer.
- DEER_SPAWN_PROBABILITY - Static variable in class aic2021.user.GameConstants
-
Probability that a deer spawns on a tile that meets the required conditions.
- deposit() - Method in interface aic2021.user.UnitController
-
Attempts to deposit this unit's resources in an adjacent Base or Settlement.
- DETECTION_LEVEL - Static variable in class aic2021.user.GameConstants
-
Array containing the detection level of each unit type.
- DETECTION_LEVEL_DECREASE_CRYSTALS - Static variable in class aic2021.user.GameConstants
-
The detection level of all new units is decreased by this value if 'Crystals' has been researched.
- detectionLevel - Variable in enum aic2021.user.UnitType
-
Detection level of this unit type.
- Direction - Enum in aic2021.user
-
Class that contains all the directions in which a unit can move.
- directionTo(Location) - Method in class aic2021.user.Location
-
Returns the direction that gets the closest to a given location.
- disarm(Location) - Method in interface aic2021.user.UnitController
-
Attempts to disarm a trap at target location.
- distanceSquared(Location) - Method in class aic2021.user.Location
-
Returns the squared euclidean distance between this location and the given one.
- draw(int) - Method in interface aic2021.user.UnitController
-
Attempts to draw target code at ths unit's location.
- drawLineDebug(Location, Location, int, int, int) - Method in interface aic2021.user.UnitController
-
Draws a segment on the map between a given pair of locations and with a given color scheme (in rgb-coordinates).
- drawPointDebug(Location, int, int, int) - Method in interface aic2021.user.UnitController
-
Draws a point on the map at a given location and with a given color scheme (in rgb-coordinates).
- duration - Variable in class aic2021.user.FireInfo
-
The fire duration (in rounds).
- dx - Variable in enum aic2021.user.Direction
-
x-coordinate of this direction.
- dy - Variable in enum aic2021.user.Direction
-
y-coordinate of this direction.