gzz.vob.buoy
Class Buoy2

java.lang.Object
  |
  +--gzz.vob.buoy.Buoy2

public class Buoy2
extends java.lang.Object

A second implementation of buoys.

buoy (n) : bright-colored; a float attached by rope to the seabed to mark channels in a harbor or underwater hazards (WordNet (r) 1.7)
The importance of the buoys is determined from the depth of the anchor: the ones attached less deep have more power to say where they want to be. This is actually analogous to the physical situation when all buoys have long enough strings to just float on surface: displacement is easier for the deeper ones.


Field Summary
static boolean dbg
           
static java.lang.String rcsid
           
 
Constructor Summary
Buoy2()
           
 
Method Summary
 void place(VobScene into, Buoy[] b, java.awt.Rectangle sea)
          Place the given buoys into the given rectangle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rcsid

public static final java.lang.String rcsid
See Also:
Constant Field Values

dbg

public static boolean dbg
Constructor Detail

Buoy2

public Buoy2()
Method Detail

place

public void place(VobScene into,
                  Buoy[] b,
                  java.awt.Rectangle sea)
Place the given buoys into the given rectangle.

Parameters:
b - The buoys to place. (XXX a List or Set?)
sea - The rectangle into which the buoys should be limited.