Class PE_0_6P
java.lang.Object
PE_0_6P
Processing Sketch PE_0_6P
-
Nested Class Summary
Modifier and TypeClassDescription(package private) class
(package private) class
(package private) class
(package private) class
(package private) class
(package private) class
(package private) class
(package private) class
(package private) class
FR : La source de l'événément est un Object et pas un PEngine pour que la classe systemEvents puissent aussi être une source d'événements.(package private) static class
FR : Classe G pour Global : contient les variables globales EN : G for Global : contains global variables FR : La classe PEngine ne peut être statique et donc contenir les variable globales car cela empêche l'utilisation de nombreuses fonctions de Processing qui ne sont pas déclarées comme statiques EN : The PEngine class cannot be static and therefore contain global variables because it prevents many Processing functions from being used that are not declared as static(package private) class
(package private) static enum
(package private) static interface
Interface pour les observés | Observable Interface(package private) static interface
Interface pour les observateurs | Observer Interface(package private) class
FR : Le Node racine EN : The root Node FR : Le Node parent par héritage de tous les autres nodes est du type PEngine (c'est pourquoi, elle contient beaucoup de choses).(package private) static class
(package private) class
(package private) class
(package private) static enum
(package private) class
(package private) class
(package private) static enum
Themes(package private) static enum
TypeEvent(package private) class
(package private) class
Singleton : Themes G.themes est initialisé par PEngine dans son constructeur. -
Field Summary
Modifier and TypeFieldDescription(package private) PE_0_6P.Button
(package private) PE_0_6P.CoolButton
(package private) PE_0_6P.Node2D
(package private) PE_0_6P.PEngine
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) float
distPV2D
(processing.core.PVector pv1, processing.core.PVector pv2) dist() function with PVectors(package private) void
draw()
(package private) processing.core.PImage
extractImage
(processing.core.PImage spritesheet, int totalRows, int totalColumns, int row, int column) To extract an image from a spritesheet used in Anim class(package private) void
(package private) boolean
mouseOver
(processing.core.PVector topLeft, processing.core.PVector size) true if the mouse in the rectangle(package private) void
(package private) boolean
overRect
(float x, float y, processing.core.PVector topLeft, processing.core.PVector size) true if (x,y) is in the restangle(package private) void
setup()
-
Field Details
-
pengine
PE_0_6P.PEngine pengine -
button
PE_0_6P.Button button -
coolButton
PE_0_6P.CoolButton coolButton -
node2d
PE_0_6P.Node2D node2d
-
-
Constructor Details
-
PE_0_6P
public PE_0_6P()
-
-
Method Details
-
setup
void setup() -
draw
void draw() -
keyPressed
void keyPressed() -
mouseOver
boolean mouseOver(processing.core.PVector topLeft, processing.core.PVector size) true if the mouse in the rectangle -
overRect
boolean overRect(float x, float y, processing.core.PVector topLeft, processing.core.PVector size) true if (x,y) is in the restangle -
distPV2D
float distPV2D(processing.core.PVector pv1, processing.core.PVector pv2) dist() function with PVectors -
extractImage
processing.core.PImage extractImage(processing.core.PImage spritesheet, int totalRows, int totalColumns, int row, int column) To extract an image from a spritesheet used in Anim class -
mouseReleased
void mouseReleased()
-