X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=era.mi%2Fsrc%2Fera%2Fmi%2Flogic%2Ftimeline%2FTimelineEvent.java;h=68403499ad116809e170f5b6fcef6a67282052a4;hb=9ea0dc9cec7c1fd6adba4bb3806e328470416bd9;hp=6cec90795df8c45458f5066498aacdccb2375c7f;hpb=4aab0c0fc739b8710af599ae0701568ecd5ab44f;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..68403499 100644 --- a/era.mi/src/era/mi/logic/timeline/TimelineEvent.java +++ b/era.mi/src/era/mi/logic/timeline/TimelineEvent.java @@ -1,17 +1,27 @@ -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