Add Street Object for Accident as location
for Instances of Accident.
Removed 'isInAccident()' from 'Breakable' interface
The idea is from Previous suggested UML that replaces
Broken and Accident with getStatus() that gives info about
Breakable object. isBroken() now returns 1 if its eaither in
Accident or Broken. Can check getCurrentAccident() for null.
Signed-off-by: HeshamTB <hishaminv@gmail.com>
Signed-off-by: HeshamTB <hishaminv@gmail.com>
Removed the check on date of accidnet due
to incomplete information. The start date of
the simulation will be a static object in the
future. Implement checks when added. TODO is
there to reminde.
Signed-off-by: HeshamTB <hishaminv@gmail.com>