Class PE_0_6P.AnimatedSprite2D
java.lang.Object
PE_0_6P.PEngine
PE_0_6P.Node2D
PE_0_6P.Area2D
PE_0_6P.AnimatedSprite2D
- All Implemented Interfaces:
PE_0_6P.Observable,PE_0_6P.Observer
- Enclosing class:
- PE_0_6P
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) ArrayList<PE_0_6P.Anim>(package private) int(package private) boolean(package private) boolean(package private) boolean(package private) boolean(package private) int(package private) intFields inherited from class PE_0_6P.Area2D
shapesFields inherited from class PE_0_6P.Node2D
globalPosition, globalRotation, globalScale, isNotFreeze, name, pause, position, rotation, scale -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void_ready()Méthode à usage interne dans le moteur Le contenu de cette fonction est exécuté une seule fois tout au début de la toute première frame pour les initialisations qui doivent être faites après l'exécution de tout le code situé dans setup() de Processing(package private) void(package private) voidaddAnim(PE_0_6P.Anim anim) (package private) voiddisplay()(package private) intgetAnim()(package private) voidsetAnim(int index) (package private) voidMethods inherited from class PE_0_6P.Area2D
_collideCC, _collideCR, _collideRR, _runOutMatrix, addShapeCircle, addShapeRect, collideMethods inherited from class PE_0_6P.Node2D
_runInMatrixMethods inherited from class PE_0_6P.PEngine
_autoDelete, _process, _runReady, addChild, deltaCompute, getToRemove, listen, notify, process, ready, run, signal, toRemove, unListen
-
Field Details
-
animations
ArrayList<PE_0_6P.Anim> animations -
currentFrame
int currentFrame -
millisBeginFrame
int millisBeginFrame -
millisInterval
int millisInterval -
flipH
boolean flipH -
flipV
boolean flipV -
loop
boolean loop -
isEnded
boolean isEnded
-
-
Constructor Details
-
AnimatedSprite2D
AnimatedSprite2D(String name, processing.core.PVector position)
-
-
Method Details
-
addAnim
-
addAnim
-
getAnim
int getAnim() -
setAnim
void setAnim(int index) -
setAnim
-
_ready
void _ready()Description copied from class:PE_0_6P.PEngineMéthode à usage interne dans le moteur Le contenu de cette fonction est exécuté une seule fois tout au début de la toute première frame pour les initialisations qui doivent être faites après l'exécution de tout le code situé dans setup() de Processing- Overrides:
_readyin classPE_0_6P.PEngine
-
display
void display()- Overrides:
displayin classPE_0_6P.Node2D
-