Slick Forums

Discuss the Slick 2D Library
It is currently Wed Oct 16, 2019 12:25 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Tue Nov 28, 2006 5:55 pm 
Offline
Site Admin
User avatar

Joined: Thu Jan 01, 1970 12:00 am
Posts: 3143
I'm in the process of changing the interface to include GameContainer in the render() method. It will break existing games. I've put a temporary work around in place for the next week so people dependent on the extension don't get broken. However, if you are using the extension to show your game please add:

version="0.2"

to the extension reference so you always get the older version for your game. That is of course unless you'd rather update your code.

Your render methods just need to be updated to the form:
Code:
public void render(GameContainer container, Graphics g)


Likewise in game state:
Code:
public void render(GameContainer container, StateBasedGame game, Graphics g);


Kev


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