Slick Forums

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

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Mon Feb 22, 2010 2:36 pm 
Offline
Regular
User avatar

Joined: Wed Apr 15, 2009 12:51 pm
Posts: 104
I like to use Vecto2f for positions, velocities and so on.
It would be nice have the following method in Shape:

Code:
/**
* Set the location of this shape
*
* @param location The coordinate vector of the new location of the shape
*/
public void setLocation(Vector2f location) {
    setX(location.x);
    setY(location.y);
}



Thanks a lot
Greets Lufti


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 04, 2010 6:28 pm 
Offline
Site Admin
User avatar

Joined: Thu Jan 01, 1970 12:00 am
Posts: 3143
In SVN.

Kev


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 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