org.openmali.types.twodee
Interface Positioned2f

All Superinterfaces:
Positioned2fRO
All Known Subinterfaces:
ExtPositioned2f

public interface Positioned2f
extends Positioned2fRO

A Positioned2f class provides getters and setters for the position.


Method Summary
 Positioned2f setLocation(float left, float top)
          Sets the position.
 Positioned2f setLocation(Tuple2f location)
          Sets the location.
 
Methods inherited from interface org.openmali.types.twodee.Positioned2fRO
getLeft, getLocation, getLocation, getTop
 

Method Detail

setLocation

Positioned2f setLocation(float left,
                         float top)
Sets the position.

Parameters:
left - position
top - position
Returns:
true, if the location actually has changed

setLocation

Positioned2f setLocation(Tuple2f location)
Sets the location.

Parameters:
location -
Returns:
true, if the location actually has changed