Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
R
- R - Static variable in interface ch.epfl.cs107.play.window.Keyboard
- RandomEvent - Class in ch.epfl.cs107.play.math.random
-
Random Event implement notion of Bernoulli experiment with probability p of success
- RandomEvent() - Constructor for class ch.epfl.cs107.play.math.random.RandomEvent
-
Random Constructor for Bernoulli experiment (i.e p is selected randomly) Notice: the random event can happen multiple times
- RandomEvent(float) - Constructor for class ch.epfl.cs107.play.math.random.RandomEvent
-
Default Bernoulli Experiment Constructor Notice: by default the event can happen multiple times
- RandomEvent(float, boolean) - Constructor for class ch.epfl.cs107.play.math.random.RandomEvent
-
Extended Bernoulli Experiment Constructor
- RandomGenerator - Class in ch.epfl.cs107.play.math.random
- RandomGenerator() - Constructor for class ch.epfl.cs107.play.math.random.RandomGenerator
- randomOffSet() - Method in class ch.epfl.cs107.play.window.swing.SwingSound
-
Compute a random integer in the range defined by the sound size
- read(String) - Method in enum class ch.epfl.cs107.play.io.DefaultFileSystem
- read(String) - Method in interface ch.epfl.cs107.play.io.FileSystem
-
Open an existing file for read.
- read(String) - Method in class ch.epfl.cs107.play.io.FolderFileSystem
- read(String) - Method in class ch.epfl.cs107.play.io.ResourceFileSystem
- read(String) - Method in class ch.epfl.cs107.play.io.ZipFileSystem
- readJSONFromFile(String) - Static method in class ch.epfl.cs107.play.data.json.JSONParser
-
Used to read JSON files and get their contents as a JSONObject
- receiveDropFrom(Draggable) - Method in interface ch.epfl.cs107.play.engine.actor.Droppable
-
Interaction of a dropping
- Record - Class in ch.epfl.cs107.play.recorder
- Record() - Constructor for class ch.epfl.cs107.play.recorder.Record
- RECORD_DIRECTORY - Static variable in class ch.epfl.cs107.play.recorder.Recorder
- RecordEntry - Class in ch.epfl.cs107.play.recorder.recordEntry
- RecordEntry(long) - Constructor for class ch.epfl.cs107.play.recorder.recordEntry.RecordEntry
- Recorder - Class in ch.epfl.cs107.play.recorder
- Recorder(Window) - Constructor for class ch.epfl.cs107.play.recorder.Recorder
- RecordReplayer - Class in ch.epfl.cs107.play.recorder
- RecordReplayer(Window) - Constructor for class ch.epfl.cs107.play.recorder.RecordReplayer
- RegionOfInterest - Class in ch.epfl.cs107.play.math
-
Represents an immutable RegionOfInterest (RoI) in Image.
- RegionOfInterest(int, int, int, int) - Constructor for class ch.epfl.cs107.play.math.RegionOfInterest
-
Create A new RegionOfInterest
- registerActor(Actor) - Method in class ch.epfl.cs107.play.areagame.area.Area
-
Register an actor : will be added at next update
- registerFonts(String) - Method in interface ch.epfl.cs107.play.window.Canvas
-
Register all the font in a directory
- registerFonts(String) - Method in class ch.epfl.cs107.play.window.swing.SwingWindow
- remove(int) - Method in class ch.epfl.cs107.play.data.json.JSONArray
-
Removes the value at the given index
- remove(String) - Method in class ch.epfl.cs107.play.data.json.JSONObject
-
Removes the value with the given key
- removePocketItem(InventoryItem, int) - Method in class ch.epfl.cs107.play.areagame.handler.Inventory
-
Remove if possible the given quantity of the given item from the given pocket If done, notify listener of the change into the pocket
- render(Graphics2D) - Method in class ch.epfl.cs107.play.window.swing.ImageItem
- render(Graphics2D) - Method in interface ch.epfl.cs107.play.window.swing.Item
-
Renders the item.
- render(Graphics2D) - Method in class ch.epfl.cs107.play.window.swing.ShapeItem
- render(Graphics2D) - Method in class ch.epfl.cs107.play.window.swing.TextItem
- replay(Robot, Window) - Method in class ch.epfl.cs107.play.recorder.recordEntry.KeyboardPressedRecordEntry
- replay(Robot, Window) - Method in class ch.epfl.cs107.play.recorder.recordEntry.KeyboardReleasedRecordEntry
- replay(Robot, Window) - Method in class ch.epfl.cs107.play.recorder.recordEntry.MouseButtonPressedRecordEntry
- replay(Robot, Window) - Method in class ch.epfl.cs107.play.recorder.recordEntry.MouseButtonReleasedRecordEntry
- replay(Robot, Window) - Method in class ch.epfl.cs107.play.recorder.recordEntry.MouseMoveRecordEntry
- replay(Robot, Window) - Method in class ch.epfl.cs107.play.recorder.recordEntry.RecordEntry
- requestAreaPause(AreaPauseMenu) - Method in class ch.epfl.cs107.play.areagame.area.Area
-
Can be called by any possessor of this Area.
- requestAreaResume() - Method in class ch.epfl.cs107.play.areagame.area.AreaPauseMenu
-
Setter for the resume request
- requestPause() - Method in class ch.epfl.cs107.play.areagame.area.Area
- requestPause() - Method in class ch.epfl.cs107.play.areagame.AreaGame
- requestPause() - Method in interface ch.epfl.cs107.play.engine.PauseMenu.Pausable
- requestResume() - Method in class ch.epfl.cs107.play.areagame.area.Area
-
Can be called by anny possessor of this Area Caller indicates it requests a resume of the pause state to the game Notice: this method chooses if the request ends up or not
- requestResume() - Method in class ch.epfl.cs107.play.areagame.AreaGame
- requestResume() - Method in interface ch.epfl.cs107.play.engine.PauseMenu.Pausable
- reset() - Method in class ch.epfl.cs107.play.engine.actor.Animation
-
Reset this animation by setting the current frame to the first of the sequence
- reset() - Method in class ch.epfl.cs107.play.engine.actor.OrientedAnimation
- resetMotion() - Method in class ch.epfl.cs107.play.areagame.actor.MovableAreaEntity
-
Initialize or reset (if some) the current motion information
- resized(float) - Method in class ch.epfl.cs107.play.math.Vector
-
Resizes vector to specified length, or (
length, 0) if zero. - ResourceFileSystem - Class in ch.epfl.cs107.play.io
-
Read-only implementation of file system, using native resources bundled with binaries.
- ResourceFileSystem(FileSystem) - Constructor for class ch.epfl.cs107.play.io.ResourceFileSystem
-
Creates a new resource file system using core binaires.
- ResourceFileSystem(FileSystem, ClassLoader) - Constructor for class ch.epfl.cs107.play.io.ResourceFileSystem
-
Creates a new resource file system using specified binaries.
- ResourcePath - Class in ch.epfl.cs107.play.io
- ResourcePath() - Constructor for class ch.epfl.cs107.play.io.ResourcePath
- resume(Window, FileSystem) - Method in class ch.epfl.cs107.play.areagame.area.Area
-
Resume method: Can be overridden
- right() - Method in class ch.epfl.cs107.play.math.DiscreteCoordinates
- RIGHT - Enum constant in enum class ch.epfl.cs107.play.math.Orientation
-
???
- RIGHT - Enum constant in enum class ch.epfl.cs107.play.math.TextAlign.Horizontal
- RIGHT - Static variable in interface ch.epfl.cs107.play.window.Keyboard
- rotated(double) - Method in class ch.epfl.cs107.play.math.Vector
-
Computes rotated vector, in a counter-clockwise manner.
- rotated(float) - Method in class ch.epfl.cs107.play.math.Transform
-
Appends rotation around origin (applied after this transform).
- rotated(float, Vector) - Method in class ch.epfl.cs107.play.math.Transform
-
Appends rotation around specified point (applied after this transform).
- round() - Method in class ch.epfl.cs107.play.math.Vector
- RPGSprite - Class in ch.epfl.cs107.play.engine.actor
- RPGSprite(String, float, float, Positionable) - Constructor for class ch.epfl.cs107.play.engine.actor.RPGSprite
-
Creates a new image graphics.
- RPGSprite(String, float, float, Positionable, RegionOfInterest) - Constructor for class ch.epfl.cs107.play.engine.actor.RPGSprite
-
Creates a new image graphics.
- RPGSprite(String, float, float, Positionable, RegionOfInterest, Vector) - Constructor for class ch.epfl.cs107.play.engine.actor.RPGSprite
-
Creates a new image graphics.
- RPGSprite(String, float, float, Positionable, RegionOfInterest, Vector, float, float) - Constructor for class ch.epfl.cs107.play.engine.actor.RPGSprite
-
Creates a new Sprite.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form