- deposit() - Method in interface aic2020.user.UnitController
-
Orders this unit to deposit food on an adjacent base or market.
- Direction - Enum in aic2020.user
-
Class with all directions in which a unit can move.
- directionTo(Location) - Method in class aic2020.user.Location
-
Returns the direction that gets the closest to a given location.
- distanceSquared(Location) - Method in class aic2020.user.Location
-
Returns the distance between this location and the given one.
- donate(int) - Method in interface aic2020.user.UnitController
-
Donates the desired amount for the vaccine development.
- drawLine(Location, Location, int, int, int) - Method in interface aic2020.user.UnitController
-
Draws a line of a given color between the given locations.
- drawPoint(Location, int, int, int) - Method in interface aic2020.user.UnitController
-
Draws a point of a given color at a given location.
- dx - Variable in enum aic2020.user.Direction
-
x-coordinate of the direction.
- dy - Variable in enum aic2020.user.Direction
-
y-coordindate of the direction.