shawn42 / gamebox

A game template for building and distributing Gosu apps.
267 stars 29 forks source link

Adding Post Setup Handlers to Start Up #74

Closed burtlo closed 12 years ago

burtlo commented 12 years ago

Looking at start up I noticed that there were several things that were happening that were outside of the scope of the GameboxApp class and better suited to be executed individually.

This is a more modular approach to the Post Setup Handlers that were being executed by having them in separate classes and individually registering. This creates an interface that could allow other game developers to execute code.

Right now I simply have all the argv, env and config being passed to each one of the setup handlers because I do not yet possess the understanding of how I would go about merging those parameters.

shawn42 commented 12 years ago

Looks good, we'll need to add some specs around those areas if possible soon.