- depart(Station) - Method in class org.cppftw.trains.model.PassengerCoach
-
Makes the waiting passengers at the PassengerCoach
get on this Vehicle
if the Station
's Colour
matches this PassengerCoach
's.
- depart(Vehicle) - Method in class org.cppftw.trains.model.Slot
-
Tries to make the waiting passengers at the Station
s next to this Slot
get on
the Vehicle
given by the parameter vehicle
.
- depart(Station) - Method in class org.cppftw.trains.model.Vehicle
-
Makes the waiting passengers at the Station
get on this Vehicle
if certain conditions are met.
- Direction - Enum in org.cppftw.trains.view
-
The Direction
class is responsible for defining
the representational values of the direction a certain type
of game slot mapped to a discrete field.
- draw() - Method in class org.cppftw.trains.view.SimpleView
-
Implements the rendering of the graphical element.
- draw() - Method in class org.cppftw.trains.view.SlotView
-
Implements the rendering of the graphical element.
- draw(Vehicle, Canvas, Point2D) - Method in class org.cppftw.trains.view.VehicleView
-
Implements the rendering of the graphical element.