Re: Keeping Track of a game's storyline/objectivs
As 2 already pointed out, you may use the Observer Pattern to notify and trigger the action without having the portion of the particular code look dirty. You can Take a look at this page to get the initial idea more clearly.
-- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector