Slick Forums

Discuss the Slick 2D Library
It is currently Wed May 22, 2013 3:52 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Thu Feb 11, 2010 11:08 pm 
Offline
Regular

Joined: Sun Oct 05, 2008 9:24 pm
Posts: 173
http://slick.cokeandcode.com/javadoc/or ... ainer.html

Currently it has: setTargetFrameRate(int fps);

But don't see a way to get the currently set TargetFrameRate ?

Requesting method:

int getTargetFrameRate()

to be added. Thanks.


edit: also for getVsync() to ?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 12, 2010 9:40 am 
Offline
Regular
User avatar

Joined: Thu May 21, 2009 10:25 am
Posts: 161
Location: France
Hi.

There is already a getFPS() method associated to the container class :?.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 12, 2010 12:19 pm 
Offline
Regular

Joined: Sun Oct 05, 2008 9:24 pm
Posts: 173
Vince wrote:
Hi.

There is already a getFPS() method associated to the container class :?.


It returns the current frame rate, not the targeted one.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 12, 2010 11:02 pm 
Offline
Regular

Joined: Sun Oct 05, 2008 9:24 pm
Posts: 173
Actually, I can just store this value internally. I don't need to get it from the engine. Can be closed.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 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:  
Powered by phpBB® Forum Software © phpBB Group