Tuesday, November 2, 2010

Event based world clock.

When I decided to implement gnome migration into your city in Gnome Mountain, I needed to come up with a world clock class, I came up with a pretty cool event based class that is very simple to implement and turns out to work very well.

Here is the code for the class: http://mage360.pastebin.com/9sNdwEjb

And here is an example of implementation: http://mage360.pastebin.com/b0yBYwtn

No comments:

Post a Comment