void function ( String arg0 , Callback arg1 ) { int loc0 = 0 ; Event loc1 = new Event ( arg0 , arg1 ) ; for ( Event loc2 : this . events ) { if ( loc2 . getName ( ) == arg0 ) break ; loc0 ++ ; } addEventAt ( loc0 , loc1 ) ; }
creates and subscribes or binds to an event . concode_field_sep ArrayList<TimeEvent> timeEvents concode_elem_sep ArrayList<Event> events concode_field_sep void addTimeEventAt concode_elem_sep void onTime concode_elem_sep void emitTime concode_elem_sep void offTime concode_elem_sep void emit concode_elem_sep void addEventAt concode_elem_sep void off