I need how to deal with keyboard events. This isn't too difficult, but I found it tricky to do this outside the main class. Anyway got onto the forums and got an answer off Nutrox, (see the post with a description of the problem in detail and has the code too).
Not sure if this is the right way of doing it, but ultimately I wanted the logic for controlling for the spaceship is a ship class not in the main class, so thats just some background to the problem.
Sunday, 1 February 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment