Modifier and Type | Class and Description |
---|---|
class |
LoopedFramesAnimation
Looped frames animation.
|
class |
MultipleFramesAnimation
Multiple frames animation.
|
class |
SingleFrameAnimation
Single frame animation.
|
Modifier and Type | Method and Description |
---|---|
Animation |
Sprite.getCurrentAnimation()
Return the current animation for this piccolo sprite node.
|
Modifier and Type | Method and Description |
---|---|
Set<Animation> |
Sprite.getAnimations()
Return an unmodifiable set of animations for this piccolo sprite node.
|
Modifier and Type | Method and Description |
---|---|
void |
Sprite.addAnimation(Animation animation)
Add the specified animation to the set of animations for this piccolo sprite node.
|
void |
Sprite.removeAnimation(Animation animation)
Remove the specified animation from the set of animations for this piccolo sprite node.
|
void |
Sprite.setCurrentAnimation(Animation currentAnimation)
Set the current animation for this piccolo sprite node to
currentAnimation . |
Constructor and Description |
---|
Sprite(Animation animation)
Create a new piccolo sprite node with the specified animation.
|
Sprite(Animation currentAnimation,
Set<Animation> animations)
Create a new piccolo sprite node from the specified required parameters.
|
Sprite(Animation currentAnimation,
Set<Animation> animations,
int frameSkip)
Create a new piccolo sprite node from the specified required parameters.
|
Constructor and Description |
---|
Sprite(Animation currentAnimation,
Set<Animation> animations)
Create a new piccolo sprite node from the specified required parameters.
|
Sprite(Animation currentAnimation,
Set<Animation> animations,
int frameSkip)
Create a new piccolo sprite node from the specified required parameters.
|
Copyright (c) 2006-2013 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).