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
Fields inherited from class PE_0_6P.Node2D
globalPosition, globalRotation, globalScale, isNotFreeze, name, pause, position, rotation, scale
-
Constructor Summary
-
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) void
addShapeCircle
(float radius) (package private) void
addShapeRect
(float a, float b) (package private) boolean
collide
(PE_0_6P.Area2D area2D) Methods inherited from class PE_0_6P.Node2D
_runInMatrix, display
Methods 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:
_runOutMatrix
in classPE_0_6P.Node2D
-