public abstract class JJAnimation
extends java.lang.Object
Constructor and Description |
---|
JJAnimation(int pas,
JJComponent compo,
boolean vieLimite)
Instantiates a new JJ animation.
|
Modifier and Type | Method and Description |
---|---|
boolean |
animer()
Animer.
|
void |
decalerPas(int offset)
Decaler pas.
|
int |
getPas()
Gets the pas.
|
boolean |
isVieLimite()
Checks if is vie limite.
|
void |
setPas(int pas)
Sets the pas.
|
void |
setVieLimite(boolean vieLimite)
Sets the vie limite.
|
public JJAnimation(int pas, JJComponent compo, boolean vieLimite)
pas
- , compo , vieLimitecompo
- the compovieLimite
- the vie limitepublic boolean animer()
public int getPas()
public void setPas(int pas)
pas
- the new paspublic boolean isVieLimite()
public void setVieLimite(boolean vieLimite)
vieLimite
- the new vie limitepublic void decalerPas(int offset)
offset
- the offset