A B C D E F G I J K L M N O P R S T V W Y 

R

RED_INDEX - Static variable in class carsproject.map.Roads.TrafficLight
Constant used for the state of the traffic light's colour.
refreshLogPanel() - Static method in class carsproject.view.GUIdrawer
Clear the vehicle list and rewrote it updated.
resize(Image, int, int) - Static method in class carsproject.view.ImageTool
Resizes a given image to given width and height.
Roads - Class in carsproject.map
First level specialization of 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(Image, Coordinates, Direction[]) - Constructor for class carsproject.map.Roads
Constructor of Roads class, call the constructor of the super-class AbstractTile and assigns the actual direction kept by the road.
Roads.Bow - Class in carsproject.map
Second level specialization of AbstractTile class, represents a bow which only keeps East-North, East-South, West-North, West-South directions.
Roads.Bow(Image, Coordinates, Direction[], int) - Constructor for class carsproject.map.Roads.Bow
Constructor of the 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.
Roads.Cross - Class in carsproject.map
Second level specialization of AbstractTile class, represents a tile in the cross.
Roads.Cross(Image, Coordinates, Direction[]) - Constructor for class carsproject.map.Roads.Cross
Constructor of Roads.Cross class, calls the constructor af the super-class Roads and assigns the type of the tile to CROSS of the TileType enum.
Roads.Priority - Class in carsproject.map
Second level specialization of AbstractTile class, represents a priority.
Roads.Priority(Image, Coordinates, Direction[]) - Constructor for class carsproject.map.Roads.Priority
Constructor of 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.
Roads.Road - Class in carsproject.map
Second level specialization of AbstractTile class, represents a simple straight road which keeps horizontal or diagonal directions.
Roads.Road(Image, Coordinates, Direction[]) - Constructor for class carsproject.map.Roads.Road
Constructor of Roads.Road class, calls the constructor af the super-class Roads and assigns the type of the tile to ROAD of the TileType enum.
Roads.Stop - Class in carsproject.map
Second level specialization of AbstractTile class, represents a stop.
Roads.Stop(Image, Coordinates, Direction[]) - Constructor for class carsproject.map.Roads.Stop
Constructor of Roads.Stop class, calls the constructor af the super-class Roads and assigns the type of the tile to STOP of the TileType enum.
Roads.TrafficLight - Class in carsproject.map
Second level specialization of AbstractTile class, represents a traffic light.
Roads.TrafficLight(Image[], Coordinates, Direction[]) - Constructor for class carsproject.map.Roads.TrafficLight
Constructor of 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.
Roads.Zebra - Class in carsproject.map
Second level specialization of AbstractTile class, represents a zebra crossing which could be present on the street.
Roads.Zebra(Image, Coordinates, Direction[]) - Constructor for class carsproject.map.Roads.Zebra
Constructor of 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.
rotate(Image, double) - Static method in class carsproject.view.ImageTool
Rotates an image.
run() - Method in interface carsproject.vehicles.IThreadVehicle
Every TIME_SLICE fractions of second it do a cycle scanning in front of itself to check if there are some obstacles.Then it move according to it's speed and road under it.
run() - Method in class carsproject.vehicles.ThreadCar
Every TIME_SLICE fractions of second this do a cycle scanning in front of itself to check if there are some obstacles.
run() - Method in class carsproject.view.MapDrawer
 
A B C D E F G I J K L M N O P R S T V W Y