We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

Dragons

In "Age of Dragons" there are Orcs, Humans, Goblins, Dragons, etc. All of those different creatures are called "units". The only thing specific to a unit is that it has a position on the game map (x and y coordinates) and a name.

Dragons are a specific type of unit. They can breathe fire in a large area dealing damage to any units touched by its fiery blaze.

The Game Grid

Our game map is just a Cartesian plane.

Example of Fire Breath

The example above uses a __fire_range of 1 centered at (1, 1).

Assignment

Complete the following methods: