Skip navigation links
A B C D E F G H I J L M N O P R S T U V W X Y 

G

getAngle() - Method in class city.cs.engine.Body
The angle of rotation of this body relative to its original state.
getAngleDegrees() - Method in class city.cs.engine.Body
The angle of rotation of this body relative to its original state.
getAngularVelocity() - Method in class city.cs.engine.Body
The angular (rotational) velocity of this body about its centre of mass.
getAveragedFPS() - Method in class city.cs.engine.SimulationSettings
 
getBodiesInContact() - Method in class city.cs.engine.Body
A list of all the other bodies currently in contact with this body.
getBody() - Method in class city.cs.engine.Fixture
The body of which this fixture forms a part.
getBodyImage() - Method in class city.cs.engine.AttachedImage
The BodyImage of which this is an instance.
getCentre() - Method in class city.cs.engine.WorldView
The point in the world that is the current centre of the view.
getContactBody() - Method in class city.cs.engine.SensorEvent
The body in contact with the sensor.
getContactFixture() - Method in class city.cs.engine.SensorEvent
The fixture in contact with the sensor.
getDensity() - Method in class city.cs.engine.Fixture
The current density of this fixture.
getDynamicBodies() - Method in class city.cs.engine.World
Get all the dynamic bodies in the world.
getFillColor() - Method in class city.cs.engine.Body
Get the colour used to paint the interior of this body's composite shape when no image is attached.
getFixtureList() - Method in class city.cs.engine.Body
Get the constituent fixtures of this body.
getFpsAverageCount() - Method in class city.cs.engine.SimulationSettings
 
getFrameCount() - Method in class city.cs.engine.SimulationSettings
 
getFrameRate() - Method in class city.cs.engine.SimulationSettings
The current target frame rate
getFriction() - Method in class city.cs.engine.CollisionEvent
The combined coefficient of friction of the collision.
getFriction() - Method in class city.cs.engine.SolidFixture
The current coefficient of friction for this fixture.
getGravity() - Method in class city.cs.engine.World
The strength of gravity in this world.
getGravityScale() - Method in class city.cs.engine.DynamicBody
Get the gravity scale for this body.
getGridResolution() - Method in class city.cs.engine.WorldView
Return the current grid resolution.
getImages() - Method in class city.cs.engine.Body
The images used to display this body.
getLinearVelocity() - Method in class city.cs.engine.Body
The linear (straight line) velocity of the centre of mass of this body.
getLineColor() - Method in class city.cs.engine.Body
Get the colour used to paint the outline of this body's composite shape when no image is attached (or if alwaysOutline is true).
getMass() - Method in class city.cs.engine.Body
The total mass of this body.
getName() - Method in class city.cs.engine.Body
Get the name for this body (used mostly for debugging).
getNormal() - Method in class city.cs.engine.CollisionEvent
A vector of length 1 perpendicular to the line of contact, pointing toward the other body.
getOffset() - Method in class city.cs.engine.AttachedImage
The offset for this image instance.
getOtherBody() - Method in class city.cs.engine.CollisionEvent
The body that collided with the reporting body for this collision event.
getOtherFixture() - Method in class city.cs.engine.CollisionEvent
The fixture that collided with the reporting fixture for this collision event.
getPosition() - Method in class city.cs.engine.Body
The current position in the world of this body's origin point.
getPosition() - Method in class city.cs.engine.CollisionEvent
The position of the collision.
getPositionIterations() - Method in class city.cs.engine.SimulationSettings
 
getReportingBody() - Method in class city.cs.engine.CollisionEvent
The body to which this collision event is being despatched.
getReportingFixture() - Method in class city.cs.engine.CollisionEvent
The fixture to which this collision event is being despatched.
getRestitution() - Method in class city.cs.engine.CollisionEvent
The combined coefficient of restitution of the collision.
getRestitution() - Method in class city.cs.engine.SolidFixture
The current coefficient of restitution for this shape.
getRotation() - Method in class city.cs.engine.AttachedImage
The angle of rotation for this image instance.
getScale() - Method in class city.cs.engine.AttachedImage
The scale factor for this image instance.
getSensor() - Method in class city.cs.engine.SensorEvent
The sensor that has detected the contact.
getSimTimeStep() - Method in class city.cs.engine.SimulationSettings
 
getSimulationSettings() - Method in class city.cs.engine.World
Get the settings for the physics simulation.
getSource() - Method in class city.cs.engine.DestructionEvent
The event source (the body being destroyed).
getStaticBodies() - Method in class city.cs.engine.World
Get all the static bodies in the world.
getStep() - Method in class city.cs.engine.StepEvent
The length of time simulated by the step.
getTimeStep() - Method in class city.cs.engine.SimulationSettings
 
getTimeStepMilli() - Method in class city.cs.engine.SimulationSettings
 
getTotalFPS() - Method in class city.cs.engine.SimulationSettings
 
getVelocity() - Method in class city.cs.engine.CollisionEvent
Velocity of the other body relative to this one.
getVelocityIterations() - Method in class city.cs.engine.SimulationSettings
 
getWorld() - Method in class city.cs.engine.Body
The world in which this body exists.
getWorld() - Method in class city.cs.engine.DebugViewer
The world currently being displayed and controlled.
getWorld() - Method in class city.cs.engine.WorldView
The world being shown by this view.
getZoom() - Method in class city.cs.engine.WorldView
The current zoom factor of this view.
GhostlyFixture - Class in city.cs.engine
A ghostly component of a rigid body is visible but passes through other fixtures without colliding.
GhostlyFixture(Body, Shape) - Constructor for class city.cs.engine.GhostlyFixture
Create a ghostly fixture from a shape.
GhostlyFixture(Body, Shape, float) - Constructor for class city.cs.engine.GhostlyFixture
Create a ghostly fixture from a shape.
A B C D E F G H I J L M N O P R S T U V W X Y 
Skip navigation links