| Modifier and Type | Method and Description |
|---|---|
Actor |
MouseInfo.getActor()
Return the actor (if any) that the current mouse behaviour is related to.
|
protected Actor |
Actor.getOneIntersectingObject(java.lang.Class cls)
Return an object that intersects this object.
|
protected Actor |
Actor.getOneObjectAtOffset(int dx,
int dy,
java.lang.Class cls)
Return one object that is located at the specified cell (relative to this
objects location).
|
| Modifier and Type | Method and Description |
|---|---|
void |
World.addObject(Actor object,
int x,
int y)
Add an Actor to the world.
|
protected boolean |
Actor.intersects(Actor other)
Check whether this object intersects with another given object.
|
void |
World.removeObject(Actor object)
Remove an object from the world.
|