Personal Libraries

Posted by
December 16th, 2011 5:31 pm

I’m doing the Jam, so I don’t know if this is required or not, but I thought I’d share the two classes I’ll most likely be using this coming LD.  One’s a text drawing class that uses a pixel-y font image, which was coded by my friend Lectus (who is doing the 48-hour compo).  The other is a basic class for handling menus, which you use by making a new Menu object for each menu, adding menu items, and running introduce() when you switch the menu you update/draw.  The buttons take delegates as arguments, so the class that creates them needs to define the functions itself.

http://dl.dropbox.com/u/36926855/Menu.cs

http://dl.dropbox.com/u/36926855/Font.cs


Leave a Reply

You must be logged in to post a comment.

[cache: storing page]