Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
S
- S - Static variable in interface ch.epfl.cs107.play.window.Keyboard
- sample() - Method in class ch.epfl.cs107.play.math.shape.Circle
- sample() - Method in class ch.epfl.cs107.play.math.shape.Polygon
- sample() - Method in class ch.epfl.cs107.play.math.shape.Polyline
- sample() - Method in class ch.epfl.cs107.play.math.shape.Shape
-
Sample uniform point inside shape, including border.
- Sawtooth - Class in ch.epfl.cs107.play.signal.wave
-
Implementation of a Sawtooth waveform
- Sawtooth(float, float, float) - Constructor for class ch.epfl.cs107.play.signal.wave.Sawtooth
-
Default Sawtooth Waveform constructor
- scaled(float) - Method in class ch.epfl.cs107.play.math.Transform
-
Appends scale (applied after this transform).
- scaled(float, float) - Method in class ch.epfl.cs107.play.math.Transform
-
Appends scale (applied after this transform).
- set(int, JSONValue) - Method in class ch.epfl.cs107.play.data.json.JSONArray
-
Sets the value at the given index
- set(String) - Method in class ch.epfl.cs107.play.data.json.JSONString
-
Sets the value of this object
- setAlpha(float) - Method in class ch.epfl.cs107.play.engine.actor.ImageGraphics
-
Sets transparency.
- setAlpha(float) - Method in class ch.epfl.cs107.play.engine.actor.ShapeGraphics
-
Sets transparency.
- setAlpha(float) - Method in class ch.epfl.cs107.play.engine.actor.TextGraphics
-
Sets transparency.
- setAnchor(Vector) - Method in class ch.epfl.cs107.play.engine.actor.Animation
-
???
- setAnchor(Vector) - Method in class ch.epfl.cs107.play.engine.actor.ImageGraphics
-
Sets image anchor location, i.e.
- setAnchor(Vector) - Method in class ch.epfl.cs107.play.engine.actor.TextGraphics
-
Sets text anchor, i.e.
- setBehavior(AreaBehavior) - Method in class ch.epfl.cs107.play.areagame.area.Area
-
Setter for the Behavior of this Area Please call this method in the begin method of every subclass
- setBold(boolean) - Method in class ch.epfl.cs107.play.engine.actor.TextGraphics
-
Sets bold font.
- setCell(int, int, AreaBehavior.Cell) - Method in class ch.epfl.cs107.play.areagame.area.AreaBehavior
- setCurrentArea(String, boolean) - Method in class ch.epfl.cs107.play.areagame.AreaGame
-
Setter for the current area: Select an Area in the list from its key - the area is then begin or resume depending if the area is already started or not and if it is forced
- setCurrentDraggedElement(Draggable) - Static method in class ch.epfl.cs107.play.engine.DragHelper
- setCurrentPosition(Vector) - Method in class ch.epfl.cs107.play.areagame.actor.AreaEntity
- setCurrentPosition(Vector) - Method in class ch.epfl.cs107.play.engine.actor.Entity
-
Update the current position (i.e.
- setCurrentPosition(Vector) - Method in class ch.epfl.cs107.play.engine.actor.GraphicsEntity
-
Set the current position.
- setDepth(float) - Method in class ch.epfl.cs107.play.engine.actor.ImageGraphics
-
Sets rendering depth.
- setDepth(float) - Method in class ch.epfl.cs107.play.engine.actor.ShapeGraphics
-
Sets rendering depth.
- setDepth(float) - Method in class ch.epfl.cs107.play.engine.actor.TextGraphics
-
Sets rendering depth.
- setFillColor(Color) - Method in class ch.epfl.cs107.play.engine.actor.ShapeGraphics
-
Sets fill color.
- setFillColor(Color) - Method in class ch.epfl.cs107.play.engine.actor.TextGraphics
-
Sets fill color.
- setFontName(String) - Method in class ch.epfl.cs107.play.engine.actor.TextGraphics
-
Set the font name
- setFontSize(float) - Method in class ch.epfl.cs107.play.engine.actor.TextGraphics
-
Sets font size.
- setGui(Inventory.GUI) - Method in class ch.epfl.cs107.play.areagame.handler.Inventory
-
Add a listener to this inventory
- setHeight(float) - Method in class ch.epfl.cs107.play.engine.actor.Animation
- setHeight(float) - Method in class ch.epfl.cs107.play.engine.actor.ImageGraphics
-
Sets actual image height, before transformation.
- setItalics(boolean) - Method in class ch.epfl.cs107.play.engine.actor.TextGraphics
-
Sets italics font.
- setName(String) - Method in class ch.epfl.cs107.play.engine.actor.ImageGraphics
-
Sets image name.
- setOutlineColor(Color) - Method in class ch.epfl.cs107.play.engine.actor.ShapeGraphics
-
Sets outline color.
- setOutlineColor(Color) - Method in class ch.epfl.cs107.play.engine.actor.TextGraphics
-
Sets outline color.
- setOwner(PauseMenu.Pausable) - Method in class ch.epfl.cs107.play.engine.PauseMenu
-
Set the owner Pausable
- setOwnerArea(Area) - Method in class ch.epfl.cs107.play.areagame.actor.AreaEntity
-
Set the owner area with new value
- setParent(Positionable) - Method in interface ch.epfl.cs107.play.math.Attachable
-
Chooses reference object.
- setParent(Positionable) - Method in class ch.epfl.cs107.play.math.Node
- setPauseMenu(PauseMenu) - Method in class ch.epfl.cs107.play.areagame.AreaGame
-
Set the pause menu
- setRandomSeed(long) - Method in class ch.epfl.cs107.play.recorder.Record
- setRelativeTransform(Transform) - Method in interface ch.epfl.cs107.play.math.Attachable
-
Sets relative affine transformation.
- setRelativeTransform(Transform) - Method in class ch.epfl.cs107.play.math.Node
- setShape(Shape) - Method in class ch.epfl.cs107.play.engine.actor.ShapeGraphics
-
Sets shape.
- setSignal(DiscreteCoordinates, Logic) - Method in class ch.epfl.cs107.play.areagame.AreaGraph
-
Activates/desactivates a node using a logic signal
- setSignal(Logic) - Method in class ch.epfl.cs107.play.areagame.AreaGraph.AreaNode
- setSpeedFactor(int) - Method in class ch.epfl.cs107.play.engine.actor.Animation
-
Update the speed factor of this Animation.
- setText(String) - Method in class ch.epfl.cs107.play.engine.actor.Text
-
Update the text displayed
- setText(String) - Method in class ch.epfl.cs107.play.engine.actor.TextGraphics
-
Sets text content.
- setThickness(float) - Method in class ch.epfl.cs107.play.engine.actor.ShapeGraphics
-
Sets outline thickness.
- setThickness(float) - Method in class ch.epfl.cs107.play.engine.actor.TextGraphics
-
Sets outline thickness.
- setViewCandidate(Actor) - Method in class ch.epfl.cs107.play.areagame.area.Area
-
Setter for the view Candidate
- setWidth(float) - Method in class ch.epfl.cs107.play.engine.actor.Animation
-
???
- setWidth(float) - Method in class ch.epfl.cs107.play.engine.actor.ImageGraphics
-
Sets actual image width, before transformation.
- Shape - Class in ch.epfl.cs107.play.math.shape
-
Base class of all physical shapes.
- Shape() - Constructor for class ch.epfl.cs107.play.math.shape.Shape
- ShapeGraphics - Class in ch.epfl.cs107.play.engine.actor
-
Contains information to render a single shape, which can be attached to any positionable.
- ShapeGraphics(Shape, Color, Color, float) - Constructor for class ch.epfl.cs107.play.engine.actor.ShapeGraphics
-
Creates a new shape graphics.
- ShapeGraphics(Shape, Color, Color, float, float, float) - Constructor for class ch.epfl.cs107.play.engine.actor.ShapeGraphics
-
Creates a new shape graphics.
- ShapeItem - Class in ch.epfl.cs107.play.window.swing
-
Draw a single shape.
- ShapeItem(Shape, Color, Color, float, float, float) - Constructor for class ch.epfl.cs107.play.window.swing.ShapeItem
-
Creates a new shape item.
- SHIFT - Static variable in interface ch.epfl.cs107.play.window.Keyboard
- shortestPath(DiscreteCoordinates, DiscreteCoordinates) - Method in class ch.epfl.cs107.play.areagame.AreaGraph
-
Compute the shortest path in this AreaGraph from given DiscreteCoordinate to given DiscreteCoordinates
- shouldBeStarted() - Method in class ch.epfl.cs107.play.engine.actor.SoundAcoustics
-
Set the "should be started" flag to true
- Signal - Interface in ch.epfl.cs107.play.signal
- Sine - Class in ch.epfl.cs107.play.signal.wave
-
Implementation of a Sine waveform
- Sine(float, float, float) - Constructor for class ch.epfl.cs107.play.signal.wave.Sine
-
Default Sine Waveform constructor
- size() - Method in class ch.epfl.cs107.play.data.json.JSONArray
-
Returns the size of the array
- Sound - Interface in ch.epfl.cs107.play.window
-
Context-agnostic immutable sound.
- SoundAcoustics - Class in ch.epfl.cs107.play.engine.actor
- SoundAcoustics(String) - Constructor for class ch.epfl.cs107.play.engine.actor.SoundAcoustics
-
Alternative sound Acoustics constructor
- SoundAcoustics(String, float, boolean, boolean, boolean, boolean) - Constructor for class ch.epfl.cs107.play.engine.actor.SoundAcoustics
-
Default sound Acoustics constructor
- SoundItem - Class in ch.epfl.cs107.play.window.swing
-
Play a single sound https://bugs.openjdk.java.net/browse/JDK-8077019
- SoundItem(boolean, float, boolean, boolean, SwingSound) - Constructor for class ch.epfl.cs107.play.window.swing.SoundItem
-
Default Sound Item constructor
- SPACE - Static variable in interface ch.epfl.cs107.play.window.Keyboard
- Sprite - Class in ch.epfl.cs107.play.engine.actor
- Sprite(String, float, float, Positionable) - Constructor for class ch.epfl.cs107.play.engine.actor.Sprite
-
Creates a new image graphics.
- Sprite(String, float, float, Positionable, RegionOfInterest) - Constructor for class ch.epfl.cs107.play.engine.actor.Sprite
-
Creates a new image graphics.
- Sprite(String, float, float, Positionable, RegionOfInterest, Vector) - Constructor for class ch.epfl.cs107.play.engine.actor.Sprite
-
Creates a new image graphics.
- Sprite(String, float, float, Positionable, RegionOfInterest, Vector, float, float) - Constructor for class ch.epfl.cs107.play.engine.actor.Sprite
-
Creates a new Sprite.
- Square - Class in ch.epfl.cs107.play.signal.wave
-
Implementation of a Square waveform
- Square(float, float, float) - Constructor for class ch.epfl.cs107.play.signal.wave.Square
-
Default Square Waveform constructor
- start() - Method in class ch.epfl.cs107.play.recorder.Recorder
- start() - Method in class ch.epfl.cs107.play.window.swing.SoundItem
-
Start the sound by asking a clip and starting it
- start(String) - Method in class ch.epfl.cs107.play.recorder.RecordReplayer
- stop(String) - Method in class ch.epfl.cs107.play.recorder.Recorder
- stopAllSounds(Audio) - Static method in class ch.epfl.cs107.play.engine.actor.SoundAcoustics
-
Stop all sounds from given audio context by sending a null sound that stop others on starts
- sub(float, float) - Method in class ch.epfl.cs107.play.math.Vector
- sub(Vector) - Method in class ch.epfl.cs107.play.math.Vector
- suspend() - Method in class ch.epfl.cs107.play.areagame.area.Area
-
Suspend method: Can be overridden, called before resume other
- SwingImage - Class in ch.epfl.cs107.play.window.swing
-
Swing implementation of an image.
- SwingImage(Image, RegionOfInterest, boolean) - Constructor for class ch.epfl.cs107.play.window.swing.SwingImage
-
Creates an image from specified image.
- SwingImage(InputStream, RegionOfInterest, boolean) - Constructor for class ch.epfl.cs107.play.window.swing.SwingImage
-
Creates an image from specified image input stream.
- SwingSound - Class in ch.epfl.cs107.play.window.swing
- SwingSound(InputStream) - Constructor for class ch.epfl.cs107.play.window.swing.SwingSound
-
Default SwingSound Constructor - store the input stream into an audio byte array - keep also format, info and size in memory
- SwingWindow - Class in ch.epfl.cs107.play.window.swing
-
Swing implementation of window context.
- SwingWindow(String, FileSystem, int, int) - Constructor for class ch.epfl.cs107.play.window.swing.SwingWindow
-
Creates a new window.
- switchPause() - Method in class ch.epfl.cs107.play.engine.actor.Animation
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form