- SafeIterator<E> - Interface in org.cell2d
-
A SafeIterator is an Iterator whose Collection can be safely modified by
some means other than the Iterator's own remove() method while the Iterator
is active.
- scale(long) - Method in class org.cell2d.CellVector
-
Multiplies this CellVector's coordinates by the specified fracunit-scale
factor.
- scale(long) - Method in class org.cell2d.space.PolygonHitbox
-
Multiplies the coordinates of all of this PolygonHitbox's relative
vertices by the specified factor.
- setAlpha(double) - Method in class org.cell2d.space.SpaceObject
-
Sets this SpaceObject's alpha value to the specified value.
- setAngle(double) - Method in class org.cell2d.CellVector
-
Sets this CellVector's angle to the specified value while retaining its
magnitude.
- setAngle(double) - Method in class org.cell2d.space.SpaceObject
-
Sets this SpaceObject's angle of rotation to the specified value.
- setAnimation(int, Animation) - Method in class org.cell2d.GameState
-
Sets the AnimationInstance that is assigned to this GameState with the
specified ID to a new AnimationInstance of the specified Animation, if
there is not already an AnimationInstance of that Animation assigned with
that ID.
- setAnimation(int, Animation) - Method in class org.cell2d.space.SpaceObject
-
Sets the AnimationInstance that is assigned to this SpaceObject with the
specified ID to a new AnimationInstance of the specified Animation, if
there is not already an AnimationInstance of that Animation assigned
with that ID.
- setAnimation(Animation) - Method in class org.cell2d.space.SpaceObject
-
Sets this SpaceObject's AnimationInstance with ID 0 to a new
AnimationInstance of the specified Animation, if there is not already an
AnimationInstance of that Animation assigned with ID 0, then sets this
SpaceObject's appearance to its AnimationInstance with ID 0.
- setAnimInstance(int, AnimationInstance) - Method in class org.cell2d.GameState
-
Sets the AnimationInstance that is assigned to this GameState with the
specified ID to the specified AnimationInstance, if it is not already
assigned to a GameState.
- setAnimInstance(int, AnimationInstance) - Method in class org.cell2d.space.SpaceObject
-
Sets the AnimationInstance that is assigned to this SpaceObject with the
specified ID to the specified AnimationInstance, if it is not already
assigned to a GameState.
- setAnimInstance(AnimationInstance) - Method in class org.cell2d.space.SpaceObject
-
Sets both this SpaceObject's appearance and its AnimationInstance with ID
0 to the specified AnimationInstance, if it is not already assigned to a
GameState.
- setAppearance(Drawable) - Method in class org.cell2d.space.SpaceObject
-
Sets this SpaceObject's appearance to the specified Drawable.
- setBeforeMovementPriority(int) - Method in class org.cell2d.space.SpaceThinker
-
Sets this SpaceThinker's before-movement priority to the specified value.
- setBeforeMovementPriority(int) - Method in class org.cell2d.space.ThinkerObject
-
Sets this ThinkerObject's before-movement priority to the specified
value.
- setCamera(SpaceObject) - Method in class org.cell2d.space.Viewport
-
Sets this Viewport's camera to the specified SpaceObject, or to none if
the specified SpaceObject is null.
- setCellDimensions(long, long) - Method in class org.cell2d.space.SpaceState
-
Sets the dimensions of each of this SpaceState's cells to the specified
values.
- setCenterOffset(CellVector) - Method in class org.cell2d.space.SpaceObject
-
Sets this SpaceObject's center's offset to the specified value.
- setCenterOffset(long, long) - Method in class org.cell2d.space.SpaceObject
-
Sets the coordinates of this SpaceObject's center's offset to the
specified values.
- setCenterOffsetX(long) - Method in class org.cell2d.space.SpaceObject
-
Sets the x-coordinate of this SpaceObject's center's offset to the
specified value.
- setCenterOffsetY(long) - Method in class org.cell2d.space.SpaceObject
-
Sets the y-coordinate of this SpaceObject's center's offset to the
specified value.
- setCollision(boolean) - Method in class org.cell2d.space.MobileObject
-
Sets whether this MobileObject has Cell2D's standard collision mechanics
enabled.
- setCollisionHitbox(Hitbox) - Method in class org.cell2d.space.MobileObject
-
Sets this MobileObject's collision Hitbox to the specified Hitbox.
- setColor(Color) - Method in class org.cell2d.space.ColorSpaceLayer
-
Sets the Color that this ColorSpaceLayer displays to the specified Color.
- setComponent(int, Hitbox) - Method in class org.cell2d.space.CompositeHitbox
-
Sets the component Hitbox that is assigned to this CompositeHitbox with
the specified ID to the specified Hitbox.
- setCoordinates(CellVector) - Method in class org.cell2d.CellVector
-
Sets this CellVector's point to the specified value.
- setCoordinates(long, long) - Method in class org.cell2d.CellVector
-
Sets this CellVector's point to the specified coordinates.
- setDrawable(Drawable) - Method in class org.cell2d.space.DrawableSpaceLayer
-
Sets the Drawable that this DrawableSpaceLayer displays to the specified
Drawable.
- setDrawMode(SpaceState.DrawMode) - Method in class org.cell2d.space.SpaceState
-
Sets this SpaceState's DrawMode.
- setDrawPriority(int) - Method in class org.cell2d.space.SpaceObject
-
Sets this SpaceObject's draw priority to the specified value.
- setFilter(Filter) - Method in class org.cell2d.space.SpaceObject
-
Sets this SpaceObject's Filter to the specified Filter, or to "no Filter"
if the specified Filter is null.
- setFPS(int) - Method in class org.cell2d.CellGame
-
Sets the number of frames that this CellGame executes per second to the
specified value.
- setFracunitsPerMS(long) - Method in class org.cell2d.space.map.TiledConverter
-
Sets this TiledConverter's milliseconds-to-fracunits conversion rate to
the specified value.
- setFramePriority(int) - Method in class org.cell2d.space.ThinkerObject
-
Sets this ThinkerObject's frame priority to the specified value.
- setFramePriority(int) - Method in class org.cell2d.SubThinker
-
Sets this SubThinker's frame priority to the specified value.
- setFullscreen(boolean) - Method in class org.cell2d.CellGame
-
Sets whether this CellGame is in fullscreen mode.
- setGameState(GameState) - Method in class org.cell2d.AnimationInstance
-
Sets the GameState to which this AnimationInstance is assigned.
- setGameState(SpaceState, boolean) - Method in class org.cell2d.space.MobileObject
-
Sets the SpaceState to which this MobileObject is currently assigned.
- setGameState(SpaceState) - Method in class org.cell2d.space.SpaceObject
-
Sets the SpaceState to which this SpaceObject is assigned.
- setGlobalVolume(double) - Static method in class org.cell2d.Music
-
Sets the global music volume to the specified value.
- setGlobalVolume(double) - Static method in class org.cell2d.Sound
-
Sets the global sound volume to the specified value.
- setHUD(HUD) - Method in class org.cell2d.space.SpaceState
-
Sets the HUD that is assigned to this SpaceState to the specified one.
- setHUD(HUD) - Method in class org.cell2d.space.Viewport
-
Sets the HUD that is assigned to this Viewport to the specified one.
- setIndex(int, int, boolean) - Method in class org.cell2d.AnimationInstance
-
Sets this AnimationInstance's index at the specified level to the
specified value.
- setIndex(int, int) - Method in class org.cell2d.AnimationInstance
-
Sets this AnimationInstance's index at the specified level to the
specified value.
- setIndex(int) - Method in class org.cell2d.AnimationInstance
-
Sets this AnimationInstance's index at its highest level to the specified
value.
- setLayer(int, SpaceLayer) - Method in class org.cell2d.space.SpaceState
-
Sets the SpaceLayer that is assigned to this SpaceState with the
specified ID to the specified SpaceLayer.
- setLeader(MobileObject) - Method in class org.cell2d.space.MobileObject
-
Sets this MobileObject's leader to the specified one.
- setLocatorHitbox(Hitbox) - Method in class org.cell2d.space.SpaceObject
-
Sets this SpaceObject's locator Hitbox to the specified Hitbox.
- setLooping(boolean) - Method in class org.cell2d.Music
-
Sets whether this Music track is looping indefinitely, if it is currently
playing.
- setMagnitude(long) - Method in class org.cell2d.CellVector
-
Sets this CellVector's magnitude to the specified value while retaining
its angle.
- setMovementPriority(int) - Method in class org.cell2d.space.MobileObject
-
Sets this MobileObject's movement priority to the specified value.
- setOverlapHitbox(Hitbox) - Method in class org.cell2d.space.SpaceObject
-
Sets this SpaceObject's overlap Hitbox to the specified Hitbox.
- setParallaxOriginX(long) - Method in class org.cell2d.space.DrawableSpaceLayer
-
Sets this DrawableSpaceLayer's horizontal parallax origin to the
specified value.
- setParallaxOriginY(long) - Method in class org.cell2d.space.DrawableSpaceLayer
-
Sets this DrawableSpaceLayer's vertical parallax origin to the specified
value.
- setParallaxX(long) - Method in class org.cell2d.space.DrawableSpaceLayer
-
Sets this DrawableSpaceLayer's horizontal parallax to the specified
value.
- setParallaxY(long) - Method in class org.cell2d.space.DrawableSpaceLayer
-
Sets this DrawableSpaceLayer's vertical parallax to the specified value.
- setPosition(double) - Method in class org.cell2d.Music
-
Sets the music player's position in seconds in this Music track, if it is
currently playing.
- setPosition(CellVector, boolean) - Method in class org.cell2d.space.MobileObject
-
Sets this MobileObject's position to the specified value.
- setPosition(long, long, boolean) - Method in class org.cell2d.space.MobileObject
-
Sets this MobileObject's position to the specified value.
- setPosition(CellVector) - Method in class org.cell2d.space.SpaceObject
-
Sets this SpaceObject's position to the specified value.
- setPosition(long, long) - Method in class org.cell2d.space.SpaceObject
-
Sets this SpaceObject's position to the specified value.
- setRadius(long) - Method in class org.cell2d.space.CircleHitbox
-
Sets this CircleHitbox's radius to the specified value.
- setRelAngle(double) - Method in class org.cell2d.space.Hitbox
-
Sets this Hitbox's relative angle of rotation to the specified value.
- setRelBottom(long) - Method in class org.cell2d.space.RectangleHitbox
-
Sets the difference of the y-coordinates of this RectangleHitbox's
relative bottom edge and relative position to the specified value, if
doing so would not cause this RectangleHitbox's height to be negative.
- setRelDifference(CellVector) - Method in class org.cell2d.space.LineHitbox
-
Sets this LineHitbox's relative difference to the specified value.
- setRelDifference(long, long) - Method in class org.cell2d.space.LineHitbox
-
Sets this LineHitbox's relative difference to the specified value.
- setRelDX(long) - Method in class org.cell2d.space.LineHitbox
-
Sets the x-coordinate of this LineHitbox's relative difference to the
specified value.
- setRelDY(long) - Method in class org.cell2d.space.LineHitbox
-
Sets the y-coordinate of this LineHitbox's relative difference to the
specified value.
- setRelLeft(long) - Method in class org.cell2d.space.RectangleHitbox
-
Sets the difference of the x-coordinates of this RectangleHitbox's
relative left edge and relative position to the specified value, if doing
so would not cause this RectangleHitbox's width to be negative.
- setRelPosition(CellVector) - Method in class org.cell2d.space.Hitbox
-
Sets this Hitbox's relative position to the specified value.
- setRelPosition(long, long) - Method in class org.cell2d.space.Hitbox
-
Sets this Hitbox's relative position to the specified coordinates.
- setRelPressingAngle(Double) - Method in class org.cell2d.space.MobileObject
-
Sets this MobileObject's relative pressing angle to the specified value,
or to none if the specified value is null.
- setRelPressingAngle(double) - Method in class org.cell2d.space.MobileObject
-
Sets this MobileObject's relative pressing angle to the specified value.
- setRelRight(long) - Method in class org.cell2d.space.RectangleHitbox
-
Sets the difference of the x-coordinates of this RectangleHitbox's
relative right edge and relative position to the specified value, if
doing so would not cause this RectangleHitbox's width to be negative.
- setRelTop(long) - Method in class org.cell2d.space.RectangleHitbox
-
Sets the difference of the y-coordinates of this RectangleHitbox's
relative top edge and relative position to the specified value, if doing
so would not cause this RectangleHitbox's height to be negative.
- setRelVertex(int, CellVector) - Method in class org.cell2d.space.PolygonHitbox
-
Sets this PolygonHitbox's relative vertex at the specified index to the
specified value.
- setRelVertex(int, long, long) - Method in class org.cell2d.space.PolygonHitbox
-
Sets this PolygonHitbox's relative vertex at the specified index to the
specified value.
- setRelVertexX(int, long) - Method in class org.cell2d.space.PolygonHitbox
-
Sets the x-coordinate of this PolygonHitbox's relative vertex at the
specified index to the specified value.
- setRelVertexY(int, long) - Method in class org.cell2d.space.PolygonHitbox
-
Sets the y-coordinate of this PolygonHitbox's relative vertex at the
specified index to the specified value.
- setRelX(long) - Method in class org.cell2d.space.Hitbox
-
Sets the x-coordinate of this Hitbox's relative position to the specified
value.
- setRelXFlip(boolean) - Method in class org.cell2d.space.Hitbox
-
Sets whether this Hitbox is relatively horizontally flipped.
- setRelY(long) - Method in class org.cell2d.space.Hitbox
-
Sets the y-coordinate of this Hitbox's relative position to the specified
value.
- setRelYFlip(boolean) - Method in class org.cell2d.space.Hitbox
-
Sets whether this Hitbox is relatively vertically flipped.
- setRepeatX(int) - Method in class org.cell2d.space.DrawableSpaceLayer
-
Sets this DrawableSpaceLayer's horizontal repetition spacing to the
specified value.
- setRepeatY(int) - Method in class org.cell2d.space.DrawableSpaceLayer
-
Sets this DrawableSpaceLayer's vertical repetition spacing to the
specified value.
- setScaleFactor(double) - Method in class org.cell2d.CellGame
-
Sets the factor by which this CellGame's screen is scaled to make the
size of the program window to the specified value.
- setScreenHeight(int) - Method in class org.cell2d.CellGame
-
Sets the height in pixels of this CellGame's screen to the specified
value.
- setScreenWidth(int) - Method in class org.cell2d.CellGame
-
Sets the width in pixels of this CellGame's screen to the specified
value.
- setSolid(boolean) - Method in class org.cell2d.space.Hitbox
-
Sets whether this Hitbox's surfaces in every direction are solid.
- setSolid(boolean) - Method in class org.cell2d.space.SpaceObject
-
Sets whether this SpaceObject's surfaces in every direction are solid.
- setSolidHitbox(Hitbox) - Method in class org.cell2d.space.SpaceObject
-
Sets this SpaceObject's solid Hitbox to the specified Hitbox.
- setSpeed(int, long) - Method in class org.cell2d.AnimationInstance
-
Sets this AnimationInstance's speed at the specified level to the
specified value.
- setSpeed(long) - Method in class org.cell2d.AnimationInstance
-
Sets this AnimationInstance's speed at its highest level to the specified
value.
- setSpeed(double) - Method in class org.cell2d.Music
-
Sets the speed at which this Music track is playing if it is currently
playing.
- setSpeed(long) - Method in class org.cell2d.space.MobileObject
-
Sets this MobileObject's speed, the magnitude of its velocity, to the
specified value.
- setStep(CellVector) - Method in class org.cell2d.space.MobileObject
-
Sets this MobileObject's step to the specified value.
- setStep(long, long) - Method in class org.cell2d.space.MobileObject
-
Sets this MobileObject's step to the specified value.
- setStepLength(long) - Method in class org.cell2d.space.MobileObject
-
Sets the length of this MobileObject's step to the specified value.
- setStepX(long) - Method in class org.cell2d.space.MobileObject
-
Sets the x-component of this MobileObject's step to the specified value.
- setStepY(long) - Method in class org.cell2d.space.MobileObject
-
Sets the y-component of this MobileObject's step to the specified value.
- setSuperThinker(Thinker<T, U, V>) - Method in class org.cell2d.SubThinker
-
Sets this SubThinker's super-Thinker to the specified one.
- setSurfaceSolid(Direction, boolean) - Method in class org.cell2d.space.Hitbox
-
Sets whether this Hitbox's surface in the specified Direction is solid.
- setSurfaceSolid(Direction, boolean) - Method in class org.cell2d.space.SpaceObject
-
Sets whether this SpaceObject's surface in the specified Direction is
solid.
- setThinker(V) - Method in class org.cell2d.space.ThinkerObject
-
Sets this ThinkerObject's assigned SpaceThinker to the specified one, if
this ThinkerObject does not already have a SpaceThinker and the
specified SpaceThinker is not already assigned to a Thinker.
- setTile(int, int, Drawable) - Method in class org.cell2d.space.map.ArrayTileGrid
-
- setTile(int, int, Drawable) - Method in class org.cell2d.space.map.HashTileGrid
-
- setTile(int, int, Drawable) - Method in class org.cell2d.space.map.TileGrid
-
Sets the tile at the specified location in this TileGrid to the specified
Drawable.
- setTileAngle(int, int, double) - Method in class org.cell2d.space.map.ArrayTileGrid
-
- setTileAngle(int, int, double) - Method in class org.cell2d.space.map.HashTileGrid
-
- setTileAngle(int, int, double) - Method in class org.cell2d.space.map.TileGrid
-
Sets to the specified value the angle by which the tile at the specified
location in this TileGrid is rotated.
- setTileXFlip(int, int, boolean) - Method in class org.cell2d.space.map.ArrayTileGrid
-
- setTileXFlip(int, int, boolean) - Method in class org.cell2d.space.map.HashTileGrid
-
- setTileXFlip(int, int, boolean) - Method in class org.cell2d.space.map.TileGrid
-
Sets whether the tile at the specified location in this TileGrid is
flipped horizontally.
- setTileYFlip(int, int, boolean) - Method in class org.cell2d.space.map.ArrayTileGrid
-
- setTileYFlip(int, int, boolean) - Method in class org.cell2d.space.map.HashTileGrid
-
- setTileYFlip(int, int, boolean) - Method in class org.cell2d.space.map.TileGrid
-
Sets whether the tile at the specified location in this TileGrid is
flipped vertically.
- setTimeFactor(long) - Method in class org.cell2d.AnimationInstance
-
Sets this AnimationInstance's time factor to the specified value.
- setTimeFactor(long) - Method in class org.cell2d.space.SpaceObject
-
Sets this SpaceObject's time factor to the specified value.
- setTimeFactor(long) - Method in class org.cell2d.Thinker
-
Sets this Thinker's time factor to the specified value.
- setTimerValue(Event<T, U>, int) - Method in class org.cell2d.space.ThinkerObject
-
Sets the value of this ThinkerObject's timer for the specified Event to
the specified value.
- setTimerValue(Event<T, U>, int) - Method in class org.cell2d.Thinker
-
Sets the value of this Thinker's timer for the specified Event to the
specified value.
- setVelocity(CellVector) - Method in class org.cell2d.space.MobileObject
-
Sets this MobileObject's velocity to the specified value.
- setVelocity(long, long) - Method in class org.cell2d.space.MobileObject
-
Sets this MobileObject's velocity to the specified value.
- setVelocityX(long) - Method in class org.cell2d.space.MobileObject
-
Sets the x-component of this MobileObject's velocity to the specified
value.
- setVelocityY(long) - Method in class org.cell2d.space.MobileObject
-
Sets the y-component of this MobileObject's velocity to the specified
value.
- setViewport(int, Viewport<T, U>) - Method in class org.cell2d.space.SpaceState
-
Sets the Viewport that is assigned to this SpaceState with the specified
ID to the specified Viewport, if it is not already assigned to a
SpaceState.
- setVolume(double) - Method in class org.cell2d.Music
-
Sets the volume at which this Music track is playing if it is currently
playing.
- setX(long) - Method in class org.cell2d.CellVector
-
Sets the x-coordinate of this CellVector's point to the specified value.
- setX(long, boolean) - Method in class org.cell2d.space.MobileObject
-
Sets the x-coordinate of this MobileObject's position to the specified
value.
- setX(long) - Method in class org.cell2d.space.SpaceObject
-
Sets the x-coordinate of this SpaceObject's position to the specified
value.
- setX1(long) - Method in class org.cell2d.space.Viewport
-
Sets the x-coordinate in fracunits of this Viewport's left edge on the
screen to the specified value, if doing so would not cause this
Viewport's width to be negative.
- setX2(long) - Method in class org.cell2d.space.Viewport
-
Sets the x-coordinate in fracunits of this Viewport's right edge on the
screen to the specified value, if doing so would not cause this
Viewport's width to be negative.
- setXFlip(boolean) - Method in class org.cell2d.space.SpaceObject
-
Sets whether this SpaceObject is horizontally flipped.
- setY(long) - Method in class org.cell2d.CellVector
-
Sets the y-coordinate of this CellVector's point to the specified value.
- setY(long, boolean) - Method in class org.cell2d.space.MobileObject
-
Sets the y-coordinate of this MobileObject's position to the specified
value.
- setY(long) - Method in class org.cell2d.space.SpaceObject
-
Sets the y-coordinate of this SpaceObject's position to the specified
value.
- setY1(long) - Method in class org.cell2d.space.Viewport
-
Sets the y-coordinate in fracunits of this Viewport's top edge on the
screen to the specified value, if doing so would not cause this
Viewport's height to be negative.
- setY2(long) - Method in class org.cell2d.space.Viewport
-
Sets the y-coordinate in fracunits of this Viewport's bottom edge on the
screen to the specified value, if doing so would not cause this
Viewport's height to be negative.
- setYFlip(boolean) - Method in class org.cell2d.space.SpaceObject
-
Sets whether this SpaceObject is vertically flipped.
- size() - Method in class org.cell2d.EventGroup
-
Returns the number of Event instances in this EventGroup.
- size() - Method in class org.cell2d.util.ArrayMap
-
- size() - Method in class org.cell2d.util.ArraySet
-
- solidBoundingBoxesMeet(Class<O>) - Method in class org.cell2d.space.MobileObject
-
Returns all of the solid SpaceObjects of the specified class in this
MobileObject's SpaceState whose solid Hitboxes' rectangular bounding
boxes touch or intersect this MobileObject's collision Hitbox's
rectangular bounding box.
- solidBoundingBoxesMeet(Hitbox, Class<O>) - Method in class org.cell2d.space.SpaceState
-
Returns all of this SpaceState's solid SpaceObjects of the specified
class whose solid Hitboxes' rectangular bounding boxes touch or intersect
the specified Hitbox's rectangular bounding box.
- Sound - Class in org.cell2d
-
A Sound is a sound effect.
- Sound(String, boolean) - Constructor for class org.cell2d.Sound
-
Constructs a Sound from an audio file.
- SpaceLayer - Interface in org.cell2d.space
-
A SpaceLayer renders visuals either in front of or behind those of the
SpaceObjects in the SpaceStates to which it is assigned.
- SpaceObject - Class in org.cell2d.space
-
A SpaceObject is a physical object in a SpaceState's space.
- SpaceObject() - Constructor for class org.cell2d.space.SpaceObject
-
Constructs a SpaceObject with no locator Hitbox.
- SpaceState<T extends CellGame,U extends SpaceState<T,U,V>,V extends SpaceThinker<T,U,V>> - Class in org.cell2d.space
-
A SpaceState is a type of GameState that handles gameplay in a continuous
two-dimensional space.
- SpaceState(Class<T>, Class<U>, Class<V>, T, int, long, long, SpaceState.DrawMode) - Constructor for class org.cell2d.space.SpaceState
-
Constructs a SpaceState of the specified CellGame with the specified ID.
- SpaceState.DrawMode - Enum in org.cell2d.space
-
A DrawMode is a procedure by which a SpaceState determines the order
in which to draw SpaceObjects with the same draw priority over one
another.
- SpaceThinker<T extends CellGame,U extends SpaceState<T,U,V>,V extends SpaceThinker<T,U,V>> - Class in org.cell2d.space
-
A SpaceThinker is the type of SubThinker that is used by SpaceStates.
- SpaceThinker(Class<T>, Class<U>, Class<V>) - Constructor for class org.cell2d.space.SpaceThinker
-
Constructs a SpaceThinker.
- Sprite - Class in org.cell2d
-
A Sprite is a static image that can be drawn to a Graphics context.
- Sprite(String, int, int, boolean, Filter...) - Constructor for class org.cell2d.Sprite
-
Constructs a Sprite from an image file.
- Sprite(String, int, int, Color, boolean, Filter...) - Constructor for class org.cell2d.Sprite
-
Constructs a Sprite from an image file.
- Sprite(String, int, int, int, int, int, boolean, Filter...) - Constructor for class org.cell2d.Sprite
-
Constructs a Sprite from an image file.
- Sprite(Image, Filter...) - Constructor for class org.cell2d.Sprite
-
Constructs a Sprite from a
Celick
Image.
- SpriteSheet - Class in org.cell2d
-
A SpriteSheet is a rectangular grid of Sprites.
- SpriteSheet(String, int, int, int, int, int, int, int, int, boolean, Filter...) - Constructor for class org.cell2d.SpriteSheet
-
Constructs a SpriteSheet from an image file.
- SpriteSheet(String, int, int, int, int, int, int, int, int, Color, boolean, Filter...) - Constructor for class org.cell2d.SpriteSheet
-
Constructs a SpriteSheet from an image file.
- SpriteSheet(String, int, int, int, int, int, int, int, int, int, int, int, boolean, Filter...) - Constructor for class org.cell2d.SpriteSheet
-
Constructs a SpriteSheet from an image file.
- SpriteSheet(SpriteSheet, Filter, boolean) - Constructor for class org.cell2d.SpriteSheet
-
Constructs a SpriteSheet from an existing SpriteSheet with a Filter
applied to it.
- sqrt(long) - Static method in class org.cell2d.Frac
-
Returns the square root of the specified fracunit-scale number.
- startGame(CellGame) - Static method in class org.cell2d.CellGame
-
Starts a CellGame.
- stop() - Method in interface org.cell2d.SafeIterator
-
Instructs this SafeIterator to stop iterating over its Collection.
- stop() - Method in class org.cell2d.Sound
-
Stops this Sound.
- stringBeganActions(T, String) - Method in class org.cell2d.GameState
-
Actions for this GameState to take immediately after its CellGame
begins typing a new String.
- stringCanceledActions(T, String) - Method in class org.cell2d.GameState
-
Actions for this GameState to take immediately after its CellGame's typed
String is canceled.
- stringDeletedActions(T, String) - Method in class org.cell2d.GameState
-
Actions for this GameState to take immediately after its CellGame's typed
String is deleted and reset to the empty String.
- stringFinishedActions(T, String) - Method in class org.cell2d.GameState
-
Actions for this GameState to take immediately after its CellGame's typed
String is finished.
- sub(CellVector) - Method in class org.cell2d.CellVector
-
Subtracts the specified CellVector from this CellVector.
- sub(long, long) - Method in class org.cell2d.CellVector
-
Subtracts the specified coordinates from this CellVector's own.
- sub(CellVector, CellVector) - Static method in class org.cell2d.CellVector
-
Returns a new CellVector that represents the second specified
CellVector subtracted from the first.
- SubThinker<T extends CellGame,U extends GameState<T,U,V>,V extends SubThinker<T,U,V>> - Class in org.cell2d
-
A SubThinker is a type of Thinker that contributes to the mechanics of
another Thinker to which it is assigned.
- SubThinker(Class<T>, Class<U>, Class<V>) - Constructor for class org.cell2d.SubThinker
-
Constructs a SubThinker.
- subThinkerIterator() - Method in class org.cell2d.space.ThinkerObject
-
Returns a new SafeIterator over this ThinkerObject's list of
SpaceThinkers.
- subThinkerIterator() - Method in class org.cell2d.Thinker
-
Returns a new SafeIterator over this Thinker's list of SubThinkers.
- surfaceIsSolid(Direction) - Method in class org.cell2d.space.Hitbox
-
Returns whether this Hitbox's surface in the specified Direction is
solid.
- surfaceIsSolid(Direction) - Method in class org.cell2d.space.SpaceObject
-
Returns whether this SpaceObject's surface in the specified Direction is
solid.