AbstractTile
class, represents the
collection of road types, like it could be a simple straight road, or a bow,
or a traffic light etc...Roads
class, call the constructor of the
super-class AbstractTile
and assigns the actual direction kept by
the road.AbstractTile
class, represents a
bow which only keeps East-North, East-South, West-North, West-South
directions.Roads.Bow
class, calls the constructor of the
super-class Roads
, assigns the type of the tile to
BOW
of the TileType
enum, the grade of the bow and
the center of the bow expressed in Coordinates
.AbstractTile
class, represents a
tile in the cross.Roads.Cross
class, calls the constructor af the
super-class Roads
and assigns the type of the tile to
CROSS
of the TileType
enum.AbstractTile
class, represents a
priority.Roads.Priority
class, calls the constructor af the
super-class Roads
and assigns the type of the tile to
Roads.Priority
of the TileType
enum.AbstractTile
class, represents a
simple straight road which keeps horizontal or diagonal directions.Roads.Road
class, calls the constructor af the
super-class Roads
and assigns the type of the tile to
ROAD
of the TileType
enum.AbstractTile
class, represents a
stop.Roads.Stop
class, calls the constructor af the
super-class Roads
and assigns the type of the tile to
STOP
of the TileType
enum.AbstractTile
class, represents a
traffic light.Roads.TrafficLight
class, calls the constructor af
the super-class Roads
, assigns the default state 2 (RED) and
the type of the tile to TRAFFIC_LIGHT
of the TileType
enum.AbstractTile
class, represents a
zebra crossing which could be present on the street.Roads.Zebra
class, calls the constructor af the
super-class Roads
and assigns the type of the tile to
ZEBRA_CROSSING
of the TileType
enum.