X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=era.mi%2Fsrc%2Fera%2Fmi%2Flogic%2Ftimeline%2FTimelineEvent.java;h=26799a3c6be6f130769d1920a97c1f8c6033de3e;hb=7d3d8dd3ff0e8362195ed5bbbc7ec4bc9a9b2475;hp=6cec90795df8c45458f5066498aacdccb2375c7f;hpb=7f0a08228f5c517aa1aa22453c1b0dd533e4cd04;p=Mograsim.git diff --git a/era.mi/src/era/mi/logic/timeline/TimelineEvent.java b/era.mi/src/era/mi/logic/timeline/TimelineEvent.java index 6cec9079..26799a3c 100644 --- a/era.mi/src/era/mi/logic/timeline/TimelineEvent.java +++ b/era.mi/src/era/mi/logic/timeline/TimelineEvent.java @@ -1,17 +1,29 @@ -package era.mi.logic.timeline; - -public class TimelineEvent -{ - private final long timing; - - TimelineEvent(long timing) - { - super(); - this.timing = timing; - } - - public long getTiming() - { - return timing; - } +package era.mi.logic.timeline; + +/** + * A class that stores all relevant information about an event in the {@link Timeline}. Currently, there is not much relevant information to + * store. + * + * @author Fabian Stemmler + * + */ +public class TimelineEvent +{ + private final long timing; + + TimelineEvent(long timing) + { + super(); + this.timing = timing; + } + + public long getTiming() + { + return timing; + } + + public String toString() + { + return "timestamp: " + timing; + } } \ No newline at end of file