|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.kolls.railworld.play.RailAccident
net.kolls.railworld.play.ra.OverRun
public class OverRun
A track overrun. Single train has exceeded end of track going faster than joining speed.
| Field Summary |
|---|
| Fields inherited from class net.kolls.railworld.play.RailAccident |
|---|
pos, t1, t2 |
| Constructor Summary | |
|---|---|
OverRun(Train first,
java.awt.geom.Point2D p)
Create a track overrun. |
|
| Method Summary | |
|---|---|
java.lang.String |
midbody()
The midbody of the report is the section that comes before the second train, if any, is described but after the first train is described. |
java.lang.String |
title()
The title of this accident type |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OverRun(Train first,
java.awt.geom.Point2D p)
first - First trainp - Location of accident| Method Detail |
|---|
public java.lang.String midbody()
RailAccident
midbody in class RailAccidentpublic java.lang.String title()
RailAccident
title in class RailAccident
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||