Slick Forums

Discuss the Slick 2D Library
It is currently Sat May 25, 2013 3:32 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Tue Jan 31, 2012 12:22 pm 
Offline
User avatar

Joined: Fri Feb 04, 2011 4:33 pm
Posts: 6
Hello all!
I'm trying to figure out where exactly should I declare and initialize nifty in a state based game?

Should I declare and initialize a separate Nifty for each and every BasicGameState class? Or should I have only one Nifty at the StateBasedGame class and pass it on to the BasicGameState classes (or make it a public static Nifty)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group