|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPuppet
I'm an IPainter
which can be moved around.
Field Summary | |
---|---|
static IPuppet |
NULL_OBJECT
A puppet which is always at 0,0 and never paints itself |
Method Summary | |
---|---|
int |
getX()
X coordinate |
int |
getY()
Y coordinate |
void |
moveAbs(int x,
int y)
Move the reference point to new coordinates. |
void |
removeFromScene()
Remove this puppet from its scene. |
void |
setContainingScene(IScene scene)
notify this puppet that it is now contained in a different scene. |
Methods inherited from interface de.unifreiburg.twodeedoo.view.IPainter |
---|
paint |
Field Detail |
---|
static final IPuppet NULL_OBJECT
Method Detail |
---|
void moveAbs(int x, int y)
x
- x coordinate in the scene of my reference pointy
- y coordinate in the scene of my reference point.int getX()
int getY()
void setContainingScene(IScene scene)
scene
- the new scene. Could be a non-displaying scene.void removeFromScene()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |