gzz.vob.buoy
Interface Buoy3Floater


public interface Buoy3Floater

An interface to buoy layouts. As opposed to Buoy2, here we start by the idea that we will have several different layouts. XXX Delayed until all buoys there? Or modify coords?


Method Summary
 int addBuoy(float anchorX, float anchorY, float importance, java.lang.Object key, float w, float h)
          Add a buoy.
 int addCentralBuoy(java.lang.Object key)
          Add the given "buoy" as a central system (the coordinates are not modified except by translation).
 

Method Detail

addBuoy

public int addBuoy(float anchorX,
                   float anchorY,
                   float importance,
                   java.lang.Object key,
                   float w,
                   float h)
Add a buoy.

Parameters:
importance - The importance of the buoy. Between 1 (max) and 0 (none).
Returns:
The new coordinate system.

addCentralBuoy

public int addCentralBuoy(java.lang.Object key)
Add the given "buoy" as a central system (the coordinates are not modified except by translation). This is so that it will be easy to animate between buoy coord systems and the center.