Uses of Class
hermes.physics.MassedBeing

Packages that use MassedBeing
hermes.physics   
 

Uses of MassedBeing in hermes.physics
 

Classes in hermes.physics with type parameters of type MassedBeing
 class GenericMassedCollider<A extends MassedBeing,B extends MassedBeing>
           This is a collision handler for MassedBeing and its subclasses which handles collisions using both projection (instantly separating the bodies) and impulse (changing their velocities).
 class GenericMassedCollider<A extends MassedBeing,B extends MassedBeing>
           This is a collision handler for MassedBeing and its subclasses which handles collisions using both projection (instantly separating the bodies) and impulse (changing their velocities).
 

Methods in hermes.physics with parameters of type MassedBeing
 void ImpulseCollision.addImpulse(PVector impulse, MassedBeing origin)
          add an impulse to the collision
static ImpulseCollision MassedBeing.addImpulseCollision(MassedBeing being1, MassedBeing being2, PVector projection)
          Sets up a collision between two beings, with elasticity equal to the average of the being's elasticity.
static ImpulseCollision MassedBeing.addImpulseCollision(MassedBeing being1, MassedBeing being2, PVector projection, float elasticity)
          Sets up a collision between two beings, with custom elasticity.
protected abstract  float InverseSquareInteractor.beingFactor(MassedBeing being)
          The factor from each being used in the numerator of the Coloumb equation for example, charge for an electric force or mass for gravity.
protected  float GravityInteractor.beingFactor(MassedBeing being)
           
static PVector Physics.calculateImpulse(MassedBeing being1, MassedBeing being2, float elasticity, PVector normal)
          Calculates the impulse from a collision between Massed Beings, without accounting for rotation.
 boolean InverseSquareInteractor.detect(MassedBeing being1, MassedBeing being2)
           
 boolean InsideMassedCollider.detect(MassedBeing being1, MassedBeing being2)
           
 ImpulseCollision MassedBeing.getImpulseCollisionWith(MassedBeing other)
          Returns the collision between this being and another, if such a collision has been added.
 void InverseSquareInteractor.handle(MassedBeing being1, MassedBeing being2)
           
 void InsideMassedCollider.handle(MassedBeing being1, MassedBeing being2)
           
 boolean ImpulseCollision.hasBeing(MassedBeing being)
          whether the one of the beings in this collision is the specified being
 

Constructors in hermes.physics with parameters of type MassedBeing
ImpulseCollision(MassedBeing being1, MassedBeing being2, PVector projection, float elasticity)
          Sets up a collision between beings