On Fri, Oct 10, 2008 at 6:56 PM, duckblue <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I've followed the tutuorials and I've made a menu class and game
> class. Both work independently, but I don't know how to go from
> showing the menu to playing the game.
>
> Here's how I'm loading the menu:
>
> __docformat__ = 'restructuredtext'
> import math
> import pyglet
> from pyglet.window import key
> from pyglet.window import mouse
> import Menu
> menu_class = Menu
> menu_items = ['Start Game','Options','Exit']
> menu = menu_class(menu_items)
>

Are you sure this code works?  Looking at the above, Menu (menu_class)
is a module, not a class.

-Drew

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to