c5fe16cc1a2c5c2f33b0059819303f19933ce344
[Mograsim.git] / era.mi / src / era / mi / logic / timeline / TimelineEvent.java
1 package era.mi.logic.timeline;
2
3 /**
4  * A class that stores all relevant information about an event in the {@link Timeline}. Currently, there is not much relevant information to store.
5  * @author Fabian Stemmler
6  *
7  */
8 public class TimelineEvent
9 {
10         private final long timing;
11         
12         TimelineEvent(long timing)
13         {
14                 super();
15                 this.timing = timing;
16         }
17
18         public long getTiming()
19         {
20                 return timing;
21         }
22         
23         public String toString()
24         {
25                 return "timestamp: " + timing;
26         }
27 }