- Timestamp:
- 08/16/12 16:08:48 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-core-events/src/main/java/de/ugoe/cs/quest/eventcore/Event.java
r551 r553 30 30 * </p> 31 31 */ 32 public static final Event STARTEVENT = new Event(new DummyEventType());32 public static final Event STARTEVENT = new Event(new StringEventType("START")); 33 33 34 34 /** … … 36 36 * Global end event that can be used to indicate the end of a sequence. 37 37 */ 38 public static final Event ENDEVENT = new Event(new DummyEventType());38 public static final Event ENDEVENT = new Event(new StringEventType("END")); 39 39 40 40 /** … … 160 160 */ 161 161 public String getId() { 162 return "(" + type.toString() + ";" + target.toString() + ")"; 162 String id = type.toString(); 163 if( target!=null ) { 164 id += "." + target.toString(); 165 } 166 return id; 163 167 } 164 168
Note: See TracChangeset
for help on using the changeset viewer.