- 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.
- samplerate - Variable in class org.cell2d.celick.openal.WaveData
-
sample rate of data
- samples - Variable in class org.cell2d.celick.GameContainer
-
The number of samples we'll attempt through hardware
- scale(float) - Method in class org.cell2d.celick.geom.Vector2f
-
Scale this vector by a value
- scale(float, float) - Method in class org.cell2d.celick.Graphics
-
Apply a scaling factor to everything drawn on the graphics context
- 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.
- scaleGrow(float, float) - Method in class org.cell2d.celick.geom.Rectangle
-
Grow the rectangle based on scaling it's size
- screenHeight - Variable in class org.cell2d.celick.Graphics
-
The height of the screen
- screenWidth - Variable in class org.cell2d.celick.Graphics
-
The width of the screen
- set(float[], float[]) - Method in class org.cell2d.celick.geom.Line
-
Configure the line
- set(Vector2f, Vector2f) - Method in class org.cell2d.celick.geom.Line
-
Configure the line
- set(float, float, float, float) - Method in class org.cell2d.celick.geom.Line
-
Configure the line without garbage
- set(Vector2f) - Method in class org.cell2d.celick.geom.Vector2f
-
Set the value of this vector
- set(float, float) - Method in class org.cell2d.celick.geom.Vector2f
-
Set the values in this vector
- set(float[]) - Method in class org.cell2d.celick.geom.Vector2f
-
Set the values in this vector
- set16BitMode() - Method in class org.cell2d.celick.opengl.InternalTextureLoader
-
Tell the loader to produce 16 bit textures
- setAllowDuplicatePoints(boolean) - Method in class org.cell2d.celick.geom.Polygon
-
Indicate if duplicate points are allow
- setAlpha(float) - Method in class org.cell2d.celick.Image
-
Set the alpha value to use when rendering this image
- setAlpha(boolean) - Method in class org.cell2d.celick.opengl.TextureImpl
-
If this texture has alpha
- 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.
- setAnimatedMouseCursor(String, int, int, int, int, int[]) - Method in class org.cell2d.celick.GameContainer
-
Get a cursor based on a image reference on the classpath.
- 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.
- setAntiAlias(boolean) - Method in class org.cell2d.celick.Graphics
-
Indicate if we should antialias as we draw primitives
- setAntiAlias(boolean) - Method in class org.cell2d.celick.opengl.renderer.DefaultLineStripRenderer
-
- setAntiAlias(boolean) - Method in interface org.cell2d.celick.opengl.renderer.LineStripRenderer
-
Indicate whether antialiasing should be applied
- setAntiAlias(boolean) - Method in class org.cell2d.celick.opengl.renderer.QuadBasedLineStripRenderer
-
- setAppearance(Drawable) - Method in class org.cell2d.space.SpaceObject
-
Sets this SpaceObject's appearance to the specified Drawable.
- setBackground(Color) - Method in class org.cell2d.celick.Graphics
-
Set the background colour of the graphics context.
- 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.
- setBounds(Rectangle) - Method in class org.cell2d.celick.geom.Rectangle
-
Set the bounds of this rectangle based on the given rectangle
- setBounds(float, float, float, float) - Method in class org.cell2d.celick.geom.Rectangle
-
Set the bounds of this rectangle
- setCacheName(String) - Method in class org.cell2d.celick.opengl.TextureImpl
-
Set the name this texture is stored against in the cache
- 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.
- setCenterOfRotation(float, float) - Method in class org.cell2d.celick.Image
-
Set the centre of the rotation when applied to this image
- setCenterX(float) - Method in class org.cell2d.celick.geom.Shape
-
Set the x center of this shape.
- setCenterY(float) - Method in class org.cell2d.celick.geom.Shape
-
Set the y center of this shape.
- setClosed(boolean) - Method in class org.cell2d.celick.geom.Polygon
-
Indicate if the polygon should be closed
- 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.celick.Graphics
-
Set the color to use when rendering to this context
- setColor(int, float, float, float, float) - Method in class org.cell2d.celick.Image
-
Set the color of the given corner when this image is rendered.
- setColor(int, float, float, float) - Method in class org.cell2d.celick.Image
-
Set the color of the given corner when this image is rendered.
- 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.
- setCornerRadius(float) - Method in class org.cell2d.celick.geom.RoundedRectangle
-
Set the radius for each corner.
- setCurrent(Graphics) - Static method in class org.cell2d.celick.Graphics
-
Set the current graphics context in use
- setDefaultFont(Font) - Method in class org.cell2d.celick.GameContainer
-
Set the default font that will be intialised in the graphics held in this
container
- setDefaultMouseCursor() - Method in class org.cell2d.celick.GameContainer
-
Set the default mouse cursor - i.e.
- setDisplayMode(DisplayMode, boolean) - Method in class org.cell2d.celick.GameContainer
-
Set the display mode to be used
- setDrawable(Drawable) - Method in class org.cell2d.space.DrawableSpaceLayer
-
Sets the Drawable that this DrawableSpaceLayer displays to the specified
Drawable.
- setDrawMode(int) - Method in class org.cell2d.celick.Graphics
-
Set the drawing mode to use.
- 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.
- setExternalFrame(Shape) - Method in class org.cell2d.celick.geom.MorphShape
-
Set the current frame
- setFilter(int) - Method in class org.cell2d.celick.Image
-
Set the image filtering to be used.
- 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.
- setFont(Font) - Method in class org.cell2d.celick.Graphics
-
Set the font to be used when rendering text
- setForcedVerboseOn() - Static method in class org.cell2d.celick.util.Log
-
Indicate that we want verbose logging, even if switched off in game code.
- setForceExit(boolean) - Method in class org.cell2d.celick.GameContainer
-
Indicate if we should force exitting the VM at the end of the game
(default = true)
- 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.
- setGlobalAlphaScale(float) - Method in class org.cell2d.celick.opengl.renderer.ImmediateModeOGLRenderer
-
- setGlobalAlphaScale(float) - Method in interface org.cell2d.celick.opengl.renderer.SGL
-
Set the scaling we'll apply to any colour binds in this renderer
- 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.
- setHeight(float) - Method in class org.cell2d.celick.geom.Rectangle
-
Set the heightof this box
- setHeight(float) - Method in class org.cell2d.celick.geom.RoundedRectangle
-
Set the height of this rectangle.
- setHeight(int) - Method in class org.cell2d.celick.opengl.TextureImpl
-
Set the height of the image
- setHoldTextureData(boolean) - Method in class org.cell2d.celick.opengl.InternalTextureLoader
-
Indicate where texture data should be held for reinitialising at a future
point.
- 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.
- setIcon(String) - Method in class org.cell2d.celick.GameContainer
-
- setIcons(String[]) - Method in class org.cell2d.celick.GameContainer
-
- setImageColor(float, float, float, float) - Method in class org.cell2d.celick.Image
-
Set the filter to apply when drawing this image
- setImageColor(float, float, float) - Method in class org.cell2d.celick.Image
-
Set the filter to apply when drawing this image
- 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.
- setLineCaps(boolean) - Method in class org.cell2d.celick.opengl.renderer.DefaultLineStripRenderer
-
- setLineCaps(boolean) - Method in interface org.cell2d.celick.opengl.renderer.LineStripRenderer
-
Indicate if we should render end caps
- setLineCaps(boolean) - Method in class org.cell2d.celick.opengl.renderer.QuadBasedLineStripRenderer
-
- setLineStripRenderer(int) - Static method in class org.cell2d.celick.opengl.renderer.Renderer
-
Set the line strip renderer to one of the known types
- setLineStripRenderer(LineStripRenderer) - Static method in class org.cell2d.celick.opengl.renderer.Renderer
-
Set the line strip renderer to be used globally
- setLineWidth(float) - Method in class org.cell2d.celick.Graphics
-
Set the with of the line to be used when drawing line based primitives
- setListener(GeomUtilListener) - Method in class org.cell2d.celick.geom.GeomUtil
-
Set the listener to be notified of geometry based operations
- setLocation(float, float) - Method in class org.cell2d.celick.geom.Shape
-
Set the top-left location of this shape
- setLocation(Vector2f) - Method in class org.cell2d.celick.geom.Shape
-
Set the top-left location of this shape
- setLocatorHitbox(Hitbox) - Method in class org.cell2d.space.SpaceObject
-
Sets this SpaceObject's locator Hitbox to the specified Hitbox.
- setLogSystem(LogSystem) - Static method in class org.cell2d.celick.util.Log
-
Set the log system that will have all of the log info
sent to it.
- 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.
- setMorphTime(float) - Method in class org.cell2d.celick.geom.MorphShape
-
Set the "time" index for this morph.
- setMouseCursor(String, int, int) - Method in class org.cell2d.celick.GameContainer
-
Set the mouse cursor to be displayed - this is a hardware cursor and hence
shouldn't have any impact on FPS.
- setMouseCursor(ImageData, int, int) - Method in class org.cell2d.celick.GameContainer
-
Set the mouse cursor to be displayed - this is a hardware cursor and hence
shouldn't have any impact on FPS.
- setMouseCursor(Cursor, int, int) - Method in class org.cell2d.celick.GameContainer
-
Set the mouse cursor to be displayed - this is a hardware cursor and hence
shouldn't have any impact on FPS.
- setMouseCursor(Image, int, int) - Method in class org.cell2d.celick.GameContainer
-
Set the mouse cursor to be displayed - this is a hardware cursor and hence
shouldn't have any impact on FPS.
- setMouseGrabbed(boolean) - Method in class org.cell2d.celick.GameContainer
-
- setMovementPriority(int) - Method in class org.cell2d.space.MobileObject
-
Sets this MobileObject's movement priority to the specified value.
- setMultiSample(int) - Method in class org.cell2d.celick.GameContainer
-
Indicate whether we want to try to use fullscreen multisampling.
- setName(String) - Method in class org.cell2d.celick.Image
-
Give this image a meaningful tagging name.
- 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.
- setRadii(float, float) - Method in class org.cell2d.celick.geom.Ellipse
-
Change the shape of this Ellipse
- setRadius(float) - Method in class org.cell2d.celick.geom.Circle
-
Set the radius of this circle
- setRadius(long) - Method in class org.cell2d.space.CircleHitbox
-
Sets this CircleHitbox's radius to the specified value.
- setRadius1(float) - Method in class org.cell2d.celick.geom.Ellipse
-
Set the horizontal radius of the ellipse
- setRadius2(float) - Method in class org.cell2d.celick.geom.Ellipse
-
Set the vertical radius of the ellipse
- 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.
- setRenderer(int) - Static method in class org.cell2d.celick.opengl.renderer.Renderer
-
Set the renderer to one of the known types
- setRenderer(SGL) - Static method in class org.cell2d.celick.opengl.renderer.Renderer
-
Set the renderer to be used
- 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.
- setRGBA(int, int, int, int, int, int) - Method in class org.cell2d.celick.ImageBuffer
-
Set a pixel in the image buffer
- setRotation(float) - Method in class org.cell2d.celick.Image
-
Set the angle to rotate this image to.
- 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.
- setSize(float, float) - Method in class org.cell2d.celick.geom.Rectangle
-
Set the size (widtha and height) of this rectangle
- 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.
- setTexture(Texture) - Method in class org.cell2d.celick.Image
-
Set the texture used by this image
- setTexture(Texture) - Method in class org.cell2d.celick.SpriteSheet
-
- setTextureData(int, int, int, int, ByteBuffer) - Method in class org.cell2d.celick.opengl.TextureImpl
-
Set the texture data that this texture can be reloaded from
- setTextureFilter(int) - Method in interface org.cell2d.celick.opengl.Texture
-
Apply a given texture filter to the texture
- setTextureFilter(int) - Method in class org.cell2d.celick.opengl.TextureImpl
-
- setTextureHeight(int) - Method in class org.cell2d.celick.opengl.TextureImpl
-
Set the height of this texture
- setTextureID(int) - Method in class org.cell2d.celick.opengl.TextureImpl
-
Set the OpenGL texture ID for this texture
- setTextureWidth(int) - Method in class org.cell2d.celick.opengl.TextureImpl
-
Set the width of this texture
- setTheta(double) - Method in class org.cell2d.celick.geom.Vector2f
-
Calculate the components of the vectors based on a angle
- 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.
- setTitle(String) - Method in class org.cell2d.celick.GameContainer
-
Set the title of the window
- setup() - Method in class org.cell2d.celick.GameContainer
-
Setup the environment
- setUseFBO(boolean) - Static method in class org.cell2d.celick.opengl.pbuffer.GraphicsFactory
-
Force FBO use on or off
- 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.
- setVerbose(boolean) - Method in class org.cell2d.celick.GameContainer
-
Inidcate we want verbose logging
- setVerbose(boolean) - Static method in class org.cell2d.celick.util.Log
-
Indicate that we want verbose logging.
- 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.
- setWidth(float) - Method in class org.cell2d.celick.geom.Rectangle
-
Set the width of this box
- setWidth(float) - Method in class org.cell2d.celick.geom.RoundedRectangle
-
Set the width of this rectangle.
- setWidth(float) - Method in class org.cell2d.celick.opengl.renderer.DefaultLineStripRenderer
-
- setWidth(float) - Method in interface org.cell2d.celick.opengl.renderer.LineStripRenderer
-
Set the width of the lines to be drawn
- setWidth(float) - Method in class org.cell2d.celick.opengl.renderer.QuadBasedLineStripRenderer
-
- setWidth(int) - Method in class org.cell2d.celick.opengl.TextureImpl
-
Set the width of the image
- setWorldClip(float, float, float, float) - Method in class org.cell2d.celick.Graphics
-
Set clipping that controls which areas of the world will be drawn to.
- setWorldClip(Rectangle) - Method in class org.cell2d.celick.Graphics
-
Set the world clip to be applied
- setX(float) - Method in class org.cell2d.celick.geom.Polygon
-
- setX(float) - Method in class org.cell2d.celick.geom.Shape
-
Set the x position of the left side this shape.
- 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(float) - Method in class org.cell2d.celick.geom.Polygon
-
- setY(float) - Method in class org.cell2d.celick.geom.Shape
-
Set the y position of the top of this shape.
- 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.
- SGL - Interface in org.cell2d.celick.opengl.renderer
-
The description of the OpenGL functions used Slick.
- Shape - Class in org.cell2d.celick.geom
-
The description of any 2D shape that can be transformed.
- Shape() - Constructor for class org.cell2d.celick.geom.Shape
-
Shape constructor.
- ShapeFill - Interface in org.cell2d.celick
-
A filling method for a shape.
- ShapeRenderer - Class in org.cell2d.celick.geom
-
- ShapeRenderer() - Constructor for class org.cell2d.celick.geom.ShapeRenderer
-
- SHARED_DRAWABLE - Static variable in class org.cell2d.celick.GameContainer
-
The shared drawable if any
- 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
-
- SlickCallable - Class in org.cell2d.celick.opengl
-
A utility to allow performing GL operations without contaminating the
Slick OpenGL state.
- SlickCallable() - Constructor for class org.cell2d.celick.opengl.SlickCallable
-
- SlickException - Exception in org.cell2d.celick
-
A generic exception thrown by everything in the library
- SlickException(String) - Constructor for exception org.cell2d.celick.SlickException
-
Create a new exception with a detail message
- SlickException(String, Throwable) - Constructor for exception org.cell2d.celick.SlickException
-
Create a new exception with a detail message
- 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.celick
-
A sheet of sprites that can be drawn individually
- SpriteSheet(URL, int, int) - Constructor for class org.cell2d.celick.SpriteSheet
-
Create a new sprite sheet based on a image location
- SpriteSheet(Image, int, int) - Constructor for class org.cell2d.celick.SpriteSheet
-
Create a new sprite sheet based on a image location
- SpriteSheet(Image, int, int, int, int) - Constructor for class org.cell2d.celick.SpriteSheet
-
Create a new sprite sheet based on a image location
- SpriteSheet(Image, int, int, int) - Constructor for class org.cell2d.celick.SpriteSheet
-
Create a new sprite sheet based on a image location
- SpriteSheet(String, int, int, int) - Constructor for class org.cell2d.celick.SpriteSheet
-
Create a new sprite sheet based on a image location
- SpriteSheet(String, int, int) - Constructor for class org.cell2d.celick.SpriteSheet
-
Create a new sprite sheet based on a image location
- SpriteSheet(String, int, int, Color) - Constructor for class org.cell2d.celick.SpriteSheet
-
Create a new sprite sheet based on a image location
- SpriteSheet(String, int, int, Color, int) - Constructor for class org.cell2d.celick.SpriteSheet
-
Create a new sprite sheet based on a image location
- SpriteSheet(String, InputStream, int, int) - Constructor for class org.cell2d.celick.SpriteSheet
-
Create a new sprite sheet based on a image location
- 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.
- start() - Method in class org.cell2d.celick.GameContainer
-
Start running the game
- start() - Method in class org.cell2d.celick.opengl.renderer.DefaultLineStripRenderer
-
- start() - Method in interface org.cell2d.celick.opengl.renderer.LineStripRenderer
-
Start the line strips
- start() - Method in class org.cell2d.celick.opengl.renderer.QuadBasedLineStripRenderer
-
- startGame(CellGame) - Static method in class org.cell2d.CellGame
-
Starts a CellGame.
- startHole() - Method in class org.cell2d.celick.geom.BasicTriangulator
-
- startHole() - Method in class org.cell2d.celick.geom.MannTriangulator
-
- startHole() - Method in class org.cell2d.celick.geom.NeatTriangulator
-
- startHole() - Method in class org.cell2d.celick.geom.OverTriangulator
-
- startHole(float, float) - Method in class org.cell2d.celick.geom.Path
-
Start building a hole in the previously defined contour
- startHole() - Method in interface org.cell2d.celick.geom.Triangulator
-
Start a hole in the polygon
- startUse() - Method in class org.cell2d.celick.Image
-
Start using this sheet.
- startUse() - Method in class org.cell2d.celick.SpriteSheet
-
- 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(double) - Method in class org.cell2d.celick.geom.Vector2f
-
Adjust this vector by a given angle
- sub(Vector2f) - Method in class org.cell2d.celick.geom.Vector2f
-
Subtract a vector from this vector
- 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.
- subtract(Shape, Shape) - Method in class org.cell2d.celick.geom.GeomUtil
-
Subtract one shape from another - note this is experimental and doesn't
currently handle islands
- subtract(Shape) - Method in class org.cell2d.celick.geom.Shape
-
Subtract the given shape from this one.
- supportsAlphaInBackBuffer() - Method in class org.cell2d.celick.GameContainer
-
Check if the display created supported alpha in the back buffer
- supportsMultiSample - Variable in class org.cell2d.celick.GameContainer
-
True if this context supports multisample
- supportsMultiSample() - Method in class org.cell2d.celick.GameContainer
-
Check if this hardware can support multi-sampling
- 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.