|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jpemartin.jgt.MoveOffset
public class MoveOffset
The object will follow another object with a given (x,y) offset.
| Constructor Summary | |
|---|---|
MoveOffset(java.awt.Rectangle trailed,
int ox,
int oy)
|
|
| Method Summary | |
|---|---|
void |
move(java.awt.Rectangle moved)
move "moved" by one step |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MoveOffset(java.awt.Rectangle trailed,
int ox,
int oy)
trailed - : the object to be followedox - : horizontal distance to trailedoy - : vertical distance to trailed| Method Detail |
|---|
public void move(java.awt.Rectangle moved)
MoveControl
move in interface MoveControl
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||