|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use HShape | |
---|---|
hermes | |
hermes.hshape | |
hermes.physics | |
hermes.postoffice |
Uses of HShape in hermes |
---|
Fields in hermes declared as HShape | |
---|---|
protected HShape |
Being._shape
|
Methods in hermes that return HShape | |
---|---|
HShape |
Being.getShape()
|
Methods in hermes with parameters of type HShape | |
---|---|
void |
World.subscribe(MouseSubscriber sub,
POCodes.Button button,
HShape region)
A version of registerMouseSubscription that subscribes only to the requested button events that occur in the given region. |
Constructors in hermes with parameters of type HShape | |
---|---|
Being(HShape collisionShape)
Alternate constructor that defaults to 0 velocity. |
|
Being(HShape collisionShape,
PVector velocity)
Creates a Being . |
Uses of HShape in hermes.hshape |
---|
Subclasses of HShape in hermes.hshape | |
---|---|
class |
HCircle
Represents a circle. |
class |
HPolygon
Represents an arbitrary convex polygon. |
class |
HRectangle
Represents an axis-aligned bounding rectangle. |
Methods in hermes.hshape with parameters of type HShape | |
---|---|
boolean |
HShape.collide(HShape other)
Detects a collision with another shape |
boolean |
HPolygon.collide(HShape other)
|
abstract PVector |
HShape.projectionVector(HShape other)
Finds the projection vector for a collision with another shape. |
PVector |
HRectangle.projectionVector(HShape other)
|
PVector |
HPolygon.projectionVector(HShape other)
|
PVector |
HCircle.projectionVector(HShape other)
|
Uses of HShape in hermes.physics |
---|
Constructors in hermes.physics with parameters of type HShape | |
---|---|
MassedBeing(HShape shape,
PVector velocity,
float mass,
float elasticity)
Instantiates a new MassedBeing with given mass and elasticity. |
|
MassedBeing(HShape shape,
PVector velocity,
float mass,
float elasticity,
float sampleLength)
Instantiates a new MassedBeing with given mass and elasticity, and multisampling with a default maximum samples value of 10. |
|
MassedBeing(HShape shape,
PVector velocity,
float mass,
float elasticity,
float sampleLength,
int maxSamples)
Instantiates a new MassedBeing with given mass and elasticity, and multisampling. |
Uses of HShape in hermes.postoffice |
---|
Methods in hermes.postoffice with parameters of type HShape | |
---|---|
boolean |
PostOffice.isMouseInRegion(HShape region)
Utility for checking if mouse is in a region |
void |
PostOffice.subscribe(MouseSubscriber sub,
POCodes.Button button,
HShape region)
A version of registerMouseSubscription that subscribes only to the requested button events that occur in the given region. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |