7 Classes
The seven classes depicted in the UML diagram include some code provided in the Jave Runtime Enviroment, other classes you should create or modify, and other classes still will not be necessary until Part 2 of the assignment.
Provided (gray background)
The following classes are provided via pa5.jar, and you should not modify them:
- SensorDisplay
- Sensor
JRE (black background)
The Java Runtime Environment itself provides the Point
class.
Should Create (lavender background)
- ELgorithm
Part 2 (dotted borders)
Should Create (dotted borders, lavender background)
- Area
- LoggingSensor
Should Modify (dotted borders, gray background)
ExtraterrestrialLocator
- change this class to construct a
LoggingSensor
instead of aSensor
. - add a last line to main that is executed when the Extraterrestrial is found and prints the scan log.
- change this class to construct a