- paintBackground(Graphics2D) - Method in class city.cs.engine.WorldView
-
Overridable method called to paint the background.
- paintComponent(Graphics) - Method in class city.cs.engine.EngineerView
-
This method is invoked by Swing to paint the view;
it should not be called from user code.
- paintComponent(Graphics) - Method in class city.cs.engine.WorldView
-
This method is invoked by Swing to paint the view;
it should not be called from user code.
- paintForeground(Graphics2D) - Method in class city.cs.engine.WorldView
-
Overridable method called to paint the foreground.
- pause() - Method in class city.cs.engine.SoundClip
-
Pause the playing of the clip.
- play() - Method in class city.cs.engine.SoundClip
-
Play the clip from the start.
- PolygonShape - Class in city.cs.engine
-
A solid convex polygonal shape, to be used as the shape of a
Fixture
.
- PolygonShape(List<Vec2>) - Constructor for class city.cs.engine.PolygonShape
-
Initialise a convex polygon given a list of its vertices,
relative to the shape's origin.
- PolygonShape(float...) - Constructor for class city.cs.engine.PolygonShape
-
Initialise a convex polygon given a list of its vertices,
relative to the shape's origin.
- postStep(StepEvent) - Method in interface city.cs.engine.StepListener
-
Called immediately after each simulation step.
- preStep(StepEvent) - Method in interface city.cs.engine.StepListener
-
Called immediately before each simulation step.
- putOn(Body) - Method in class city.cs.engine.Body
-
Put this body on top of another body.
- putOn(float, Body) - Method in class city.cs.engine.Body
-
Put this body at the specified x-coordinate on top of another body.