com.jpemartin.jgt
Class MoveCombiner

java.lang.Object
  extended by com.jpemartin.jgt.MoveCombiner
All Implemented Interfaces:
MoveControl

public class MoveCombiner
extends java.lang.Object
implements MoveControl

Combines the movement from several MoveControls.

Author:
jpmartin

Constructor Summary
MoveCombiner(MoveControl... moveControls)
          pass as many MoveControl as you want to the ctor
 
Method Summary
 void move(java.awt.Rectangle moved)
          move the given rectangle using all of the combined MoveControl s
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoveCombiner

public MoveCombiner(MoveControl... moveControls)
pass as many MoveControl as you want to the ctor

Method Detail

move

public void move(java.awt.Rectangle moved)
move the given rectangle using all of the combined MoveControl s

Specified by:
move in interface MoveControl