|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Sprite | |
---|---|
com.threecoffee.anim | Provides classes to create basic image-based objects such as Actors and Sprites. |
com.threecoffee.util | Provides utility classes to make your life a little easier. |
Uses of Sprite in com.threecoffee.anim |
---|
Subclasses of Sprite in com.threecoffee.anim | |
---|---|
class |
Actor
Class to represent complex characters with multiple animations. |
Methods in com.threecoffee.anim that return types with arguments of type Sprite | |
---|---|
java.util.Vector<Sprite> |
Sprite.getColliders()
Returns all the Sprites that this Sprite can collide with. |
Methods in com.threecoffee.anim with parameters of type Sprite | |
---|---|
void |
Sprite.addCollider(Sprite s)
Checks for collision with the given Sprite, and calls the collided(Sprite) method of BOTH THE SPRITES if collision is detected. |
void |
Sprite.collided(Sprite s)
Called whenever this Sprite collides with another Sprite. |
Uses of Sprite in com.threecoffee.util |
---|
Methods in com.threecoffee.util that return Sprite | |
---|---|
Sprite |
DragControl.getSprite()
Returns the Sprite that this DragControl has control of. |
Sprite |
DragAdapter.getSprite()
Returns the Sprite that this DragAdapter has control of. |
Constructors in com.threecoffee.util with parameters of type Sprite | |
---|---|
DragAdapter(Sprite s)
Enables dragging the given Sprite. |
|
DragControl(Sprite p)
Creates a new DragControl for the given Sprite. |
|
Gravity(Sprite s,
double bounce)
Sets gravity on the given Sprite. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |