Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
S
- Scaffolding - Class in role
-
Class representing a scaffolding over background imagery.
- Scaffolding(SceneryModel) - Constructor for class role.Scaffolding
-
TODO
- SceneryModel - Class in role
-
This class models sceneries that roll across the screen.
- SceneryModel(int, int) - Constructor for class role.SceneryModel
-
Constructor taking the width and height of the canvas or container in which the scenery should be rendered
- SceneryModel(int, int, int) - Constructor for class role.SceneryModel
-
Constructor taking the width and height of the canvas or container in which the scenery should be rendered.
- SceneryView - Class in view
-
The SceneryView class represents an EntityView specifically for scenery.
- SceneryView(String, int, int) - Constructor for class view.SceneryView
-
Constructor that takes the resource file name, and the dimensions of the view port.
- SceneryView(String, Dimension) - Constructor for class view.SceneryView
-
Constructor that takes the resource file name, and the dimensions of the view port.
- ScreenBoundary - Class in role
-
This class represents a screen boundary.
- ScreenBoundary(Line, Configuration.Direction) - Constructor for class role.ScreenBoundary
-
Constructor for a screen boundary.
- setActive(boolean) - Method in class role.BarrierModel
- setActive(boolean) - Method in class role.EntityModel
-
Sets the state of the entity.
- setActive(boolean) - Method in interface view.ViewIterator
-
Sets the iterator to rolling mode or frozen mode.
- setAnimate(boolean) - Method in class role.SpriteModel
-
Keeps entity active, but stops the sprite from rolling.
- setAnimation(boolean) - Method in class role.EntityModel
-
Sets view iterator state.
- setAnimation(boolean) - Method in class view.EntityView
-
Enables/disables the rolling of frames for the sprite or scenery.
- setBackground(Color) - Method in class role.GameController
- setCoefficientOfRestitution(float) - Method in class role.BarrierModel
- setCoefficientOfRestitution(float) - Method in class role.EntityModel
-
COR normally ranges from 0 to 1 where 1 would be a perfectly elastic collision.
- setCollisionBounds(int, int) - Method in class role.EntityModel
-
This method defines the dimensions of the hit-box for this entity.
- setCollisionBounds(Dimension) - Method in class role.EntityModel
-
Set collision bounds independent of width and height of the sprite.
- setFinalState() - Method in class util.State
-
Identifies this state as the final state.
- setFlipped(boolean) - Method in class role.SpriteModel
-
Flips the view of this entity horizontally (lateral inversion)
- setFlipped(boolean) - Method in class view.SpriteView
-
Laterally inverts the rendered sprite
- setGhost(boolean) - Method in class role.EntityModel
-
Sets the collidable state for this entity.
- setInitialState() - Method in class util.State
-
Identifies this state as the initial state.
- setLayer(int) - Method in class role.EntityModel
-
Sets the layer for this entity.
- setLocation(float, float) - Method in class role.EntityModel
-
Sets x and y coordinates on screen
- setMass(float) - Method in class role.EntityModel
-
Sets the mass of the entity.
- setName(String) - Method in class role.EntityModel
-
Sets a name for this entity.
- setRotationAngle(float) - Method in class role.SpriteModel
-
The angle in degrees (Clockwise rotation).
- setRotationAngle(float) - Method in class view.SpriteView
-
Sets rotation angle for the visual in degrees (measured clockwise from horizontal).
- setScale(float) - Method in class role.EntityModel
-
The scaling factor to be applied to the view associated with this entity.
- setScale(float, float) - Method in class role.EntityModel
-
The scaling factor to be applied to the view associated with this entity.
- setScaleFactor(float, float) - Method in class view.EntityView
-
Sets the x and y scale factors
- setScaleFactor(float, float) - Method in class view.SceneryView
- setScaleFactor(float, float) - Method in class view.SpriteView
- setShowBounds(boolean) - Method in class role.BarrierModel
- setShowBounds(boolean) - Method in class role.EntityModel
-
Sets the state of the collision bounds display.
- setTimeToLive(int) - Method in class role.EntityModel
-
Set the number of frames after which this entity will be removed from screen.
- setVelocityDegrees(float, float) - Method in class role.EntityModel
-
East is 0 degrees, South is 90 degrees, West is +/-180, North is -90.
- setVelocityRadians(float, float) - Method in class role.EntityModel
-
East is 0 radians, South is PI/2, North is -PI/2, West is +/-PI
- setView(Color) - Method in class role.SpriteModel
-
Creates and sets up a colored view for this entity.
- setView(BufferedImage) - Method in class role.SpriteModel
-
Creates and sets up view with the image specified.
- setView(BufferedImage, float, int) - Method in class role.SpriteModel
-
Creates and sets up view with the image specified.
- setView(String) - Method in class role.SpriteModel
-
Set view based on a drawable sprite sheet.
- setView(String, float, float, int) - Method in class role.SpriteModel
-
Creates and sets up view with the image specified.
- setView(String, float, int) - Method in class role.SpriteModel
-
Creates and sets up view with the image specified.
- setView(String, int) - Method in class role.SpriteModel
-
Creates and sets up view with the image specified.
- setViewCallChain - Static variable in interface common.Configuration
-
Call chain for setView()
- setVisible(boolean) - Method in class role.EntityModel
-
Setting an entity visible will make it appear on screen.
- setVolume(float) - Method in enum util.SoundEffects
-
Sets the volume level of the clip.
- setWrappedMode(boolean) - Method in class role.EntityModel
-
Sets the EntityView to wrap around screen boundaries.
- setWrappedView(boolean) - Method in class view.EntityView
-
Sets the entity to wrapped mode when argument is true.
- setXAcceleration(float) - Method in class role.EntityModel
-
Setter for x component of the acceleration
- setXDelta(float) - Method in class view.SceneryView
-
Returns the displacement used to advance the frame for each rendering.
- setXLocation(float) - Method in class role.EntityModel
-
Sets the x coordinate of the body center of this entity.
- setXVelocity(float) - Method in class role.EntityModel
-
Sets the x axis velocity of the entity.
- setYAcceleration(float) - Method in class role.EntityModel
-
Sets the y component of the entities acceleration.
- setYLocation(float) - Method in class role.EntityModel
-
Sets the y coordinate of the body center of this entity.
- setYVelocity(float) - Method in class role.EntityModel
-
Sets the velocity of the entity align the vertical axis.
- SHOOT - Enum constant in enum util.SoundEffects
-
Standard shooting noise
- SINE - Static variable in class util.Physics.Trig
-
Iterator for the sine function
- sinTerator() - Method in class util.Physics.Trig
-
Iterator for the unit sine function
- slope() - Method in class common.Line
-
Returns the slope of the line.
- slopeOrder() - Method in class common.Point
-
Compares two points by the slope they make with this point.
- slopeTo(Point) - Method in class common.Point
-
Returns the slope between this point and the specified point.
- SMASH - Enum constant in enum util.SoundEffects
-
Smash glass bottle
- SoundEffects - Enum in util
- South - Enum constant in enum common.Configuration.Direction
- SouthEast - Enum constant in enum common.Configuration.Direction
- SouthWest - Enum constant in enum common.Configuration.Direction
- SpriteModel - Class in role
-
This class represents the Sprite based model.
- SpriteModel() - Constructor for class role.SpriteModel
-
No argument constructor.
- SpriteModel(int, int) - Constructor for class role.SpriteModel
-
The instantiated entity will be placed at the location (x,y).
- SpriteModel(int, int, int) - Constructor for class role.SpriteModel
-
The instantiated entity will be placed at the location (x,y) and on the layer (z-axis) specified.
- SpriteView - Class in view
-
The SpriteView class represents an EntityView specifically for actors in a game.
- SpriteView(Color) - Constructor for class view.SpriteView
-
Basic entity view of 10x10 pixel dot of the specified color
- SpriteView(Color, float) - Constructor for class view.SpriteView
-
Basic entity view of dot (10x10) with the color and scale factor applied.
- SpriteView(BufferedImage) - Constructor for class view.SpriteView
-
Constructor for creating a view from an image
- SpriteView(BufferedImage, float, float, int) - Constructor for class view.SpriteView
-
Constructor for creating a scaled image with a persistence rate.
- SpriteView(BufferedImage, float, int) - Constructor for class view.SpriteView
-
Constructor for creating a scaled image with a persistence rate.
- SpriteView(String) - Constructor for class view.SpriteView
-
View created from a sprite sheet.
- SpriteView(String, float, float) - Constructor for class view.SpriteView
-
Creates a sprite view for the containing entity model.
- SpriteView(String, float, float, int) - Constructor for class view.SpriteView
-
Creates a sprite view for the containing entity model.
- SpriteView(String, float, int) - Constructor for class view.SpriteView
-
Constructor taking the name of the sprite sheet and the persistence, or the number of frames for which the same image has to be drawn.
- SpriteView(String, int) - Constructor for class view.SpriteView
-
Constructor taking the name of the sprite sheet and the persistence, or the number of frames for which the same image has to be drawn.
- STARTUP - Enum constant in enum util.SoundEffects
-
Clip for start of game
- State - Class in util
-
Defines the abstract state of a Deterministic Finite State Automaton (DFSA).
- State(String) - Constructor for class util.State
-
State constructor takes a label.
- stop() - Method in enum util.SoundEffects
-
Stops current play-back instantaneously.
- stop(long) - Method in enum util.SoundEffects
-
Stops play-back after specified delay.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form