Closed SuperSimpleGuy closed 11 years ago
Quite possibly have IEvent
with triggerEvent()
and ICalendarEvent
with triggerEvent(CalendarDate d)
. Both would each need their respective Duration counterparts, or merge IDurationEvent
's methods into both. Suddenly, half as many interfaces!
Edit: Thus, CoreEventHandler
would need to refactor for both IEvent
and ICalendarEvent
, blind to randomness of events (which can maintain their own certainty)
Title says it all. Right now, unsure why others would need to know probability of events happening. The implementing event can internally check to see if it triggers when the standard IEvent
triggerEvent()
method is called.