Results 1 to 2 of 2
- 03-05-2010, 08:23 PM #1
Member
- Join Date
- Jul 2009
- Posts
- 18
- Rep Power
- 0
Question about creating a Game State Manager
I'm making a Game State Manager of my own. It uses a stack, to pop Game States onto. my Render and Update methods simply call GameStateManager.render and update respectively.
My question is, whats the best way to send information about events to the current gamestate? Right now I only need KeyEvents, but sometime in the future I may need information about the Mouse and the Window and such.
Anybody have any experience with this, or perhaps some reference code?
- 03-05-2010, 10:23 PM #2
Member
- Join Date
- Jul 2009
- Posts
- 18
- Rep Power
- 0
Similar Threads
-
Help creating a Masterminds game.
By viper98 in forum New To JavaReplies: 4Last Post: 11-09-2009, 04:13 AM -
Help with creating the game pairs
By dave141000 in forum New To JavaReplies: 1Last Post: 08-15-2009, 06:25 PM -
Creating a Card Game in Java
By Natrix in forum New To JavaReplies: 1Last Post: 05-05-2009, 05:55 PM -
need help creating my Tic Tac Toe game!
By bobmasta5 in forum New To JavaReplies: 6Last Post: 12-09-2008, 05:45 PM -
creating a text based game
By Phobos0001 in forum New To JavaReplies: 1Last Post: 02-12-2008, 04:35 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks