Class PE_0_6P.Area2D
java.lang.Object
PE_0_6P.PEngine
PE_0_6P.Node2D
PE_0_6P.Area2D
- All Implemented Interfaces:
PE_0_6P.Observable,PE_0_6P.Observer
- Direct Known Subclasses:
PE_0_6P.AnimatedSprite2D,PE_0_6P.Sprite2D
- Enclosing class:
- PE_0_6P
-
Field Summary
FieldsFields 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) boolean_collideCC(processing.core.PVector pos1, float scale1, PE_0_6P.Shape2D s1, processing.core.PVector pos2, float scale2, PE_0_6P.Shape2D s2) (package private) boolean_collideCR(processing.core.PVector pos1, float scale1, PE_0_6P.Shape2D s1, processing.core.PVector pos2, float scale2, PE_0_6P.Shape2D s2) (package private) boolean_collideRR(processing.core.PVector pos1, float scale1, PE_0_6P.Shape2D s1, processing.core.PVector pos2, float scale2, PE_0_6P.Shape2D s2) (package private) void(package private) voidaddShapeCircle(float radius) (package private) voidaddShapeRect(float a, float b) (package private) booleancollide(PE_0_6P.Area2D area2D) Methods inherited from class PE_0_6P.Node2D
_runInMatrix, displayMethods inherited from class PE_0_6P.PEngine
_autoDelete, _process, _ready, _runReady, addChild, deltaCompute, getToRemove, listen, notify, process, ready, run, signal, toRemove, unListen
-
Field Details
-
shapes
ArrayList<PE_0_6P.Shape2D> shapes
-
-
Constructor Details
-
Area2D
Area2D(String name, processing.core.PVector position)
-
-
Method Details
-
addShapeCircle
void addShapeCircle(float radius) -
addShapeRect
void addShapeRect(float a, float b) -
collide
-
_collideCC
boolean _collideCC(processing.core.PVector pos1, float scale1, PE_0_6P.Shape2D s1, processing.core.PVector pos2, float scale2, PE_0_6P.Shape2D s2) -
_collideRR
boolean _collideRR(processing.core.PVector pos1, float scale1, PE_0_6P.Shape2D s1, processing.core.PVector pos2, float scale2, PE_0_6P.Shape2D s2) -
_collideCR
boolean _collideCR(processing.core.PVector pos1, float scale1, PE_0_6P.Shape2D s1, processing.core.PVector pos2, float scale2, PE_0_6P.Shape2D s2) -
_runOutMatrix
void _runOutMatrix()- Overrides:
_runOutMatrixin classPE_0_6P.Node2D
-