added more doc to Timeline; added functionality to Bit
[Mograsim.git] / era.mi / src / era / mi / logic / timeline / TimelineEvent.java
index 6cec907..c5fe16c 100644 (file)
@@ -1,5 +1,10 @@
 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;
@@ -14,4 +19,9 @@ public class TimelineEvent
        {
                return timing;
        }
+       
+       public String toString()
+       {
+               return "timestamp: " + timing;
+       }
 }
\ No newline at end of file