- Direction - Enum in org.cell2d
-
A Direction is one of the four orthogonal directions.
- distanceBetween(long, long, long, long) - Static method in class org.cell2d.CellVector
-
Returns the distance between the points (x1, y1) and (x2, y2).
- distanceTo(CellVector) - Method in class org.cell2d.CellVector
-
Returns the distance from this CellVector's point to that of the
specified CellVector.
- distanceTo(Hitbox) - Method in class org.cell2d.space.Hitbox
-
Returns the absolute distance from this Hitbox's position to the
specified Hitbox's position.
- distanceTo(SpaceObject) - Method in class org.cell2d.space.SpaceObject
-
Returns the distance from this SpaceObject's center to the specified
SpaceObject's center.
- div(long, long) - Static method in class org.cell2d.Frac
-
Returns the first specified fracunit-scale number divided by the second.
- doMovement(CellVector) - Method in class org.cell2d.space.MobileObject
-
Moves this MobileObject and its followers and sub-followers by the
specified amount, colliding with solid surfaces if they have collision
enabled.
- doMovement(long, long) - Method in class org.cell2d.space.MobileObject
-
Moves this MobileObject and its followers and sub-followers by the
specified amount, colliding with solid surfaces if they have collision
enabled.
- dot(CellVector) - Method in class org.cell2d.CellVector
-
Returns the dot product in fracunits of this CellVector and the specified
one.
- draw(Graphics, int, int) - Method in class org.cell2d.AnimationInstance
-
- draw(Graphics, int, int, boolean, boolean, double, double, Filter) - Method in class org.cell2d.AnimationInstance
-
- draw(Graphics, int, int, double, boolean, boolean, double, Filter) - Method in class org.cell2d.AnimationInstance
-
- draw(Graphics, int, int, int, int, int, int) - Method in class org.cell2d.AnimationInstance
-
- draw(Graphics, int, int, int, int, int, int, boolean, boolean, double, double, Filter) - Method in class org.cell2d.AnimationInstance
-
- draw(Graphics, int, int, int, int, int, int, double, boolean, boolean, double, Filter) - Method in class org.cell2d.AnimationInstance
-
- draw(Graphics, int, int) - Method in interface org.cell2d.Drawable
-
Draws this Drawable's image to the specified Graphics context.
- draw(Graphics, int, int, boolean, boolean, double, double, Filter) - Method in interface org.cell2d.Drawable
-
Draws this Drawable's image to the specified Graphics context.
- draw(Graphics, int, int, double, boolean, boolean, double, Filter) - Method in interface org.cell2d.Drawable
-
Draws this Drawable's image to the specified Graphics context.
- draw(Graphics, int, int, int, int, int, int) - Method in interface org.cell2d.Drawable
-
Draws a rectangular region of this Drawable's image to the specified
Graphics context.
- draw(Graphics, int, int, int, int, int, int, boolean, boolean, double, double, Filter) - Method in interface org.cell2d.Drawable
-
Draws a rectangular region of this Drawable's image to the specified
Graphics context.
- draw(Graphics, int, int, int, int, int, int, double, boolean, boolean, double, Filter) - Method in interface org.cell2d.Drawable
-
Draws a rectangular region of this Drawable's image to the specified
Graphics context.
- draw(Graphics, int, int) - Method in class org.cell2d.space.map.TileGrid
-
- draw(Graphics, int, int, boolean, boolean, double, double, Filter) - Method in class org.cell2d.space.map.TileGrid
-
- draw(Graphics, int, int, double, boolean, boolean, double, Filter) - Method in class org.cell2d.space.map.TileGrid
-
- draw(Graphics, int, int, int, int, int, int) - Method in class org.cell2d.space.map.TileGrid
-
- draw(Graphics, int, int, int, int, int, int, boolean, boolean, double, double, Filter) - Method in class org.cell2d.space.map.TileGrid
-
- draw(Graphics, int, int, int, int, int, int, double, boolean, boolean, double, Filter) - Method in class org.cell2d.space.map.TileGrid
-
- draw(Graphics, int, int) - Method in class org.cell2d.space.SpaceObject
-
Draws this SpaceObject as seen through a Viewport's camera.
- draw(Graphics, int, int) - Method in class org.cell2d.Sprite
-
- draw(Graphics, int, int, boolean, boolean, double, double, Filter) - Method in class org.cell2d.Sprite
-
- draw(Graphics, int, int, double, boolean, boolean, double, Filter) - Method in class org.cell2d.Sprite
-
- draw(Graphics, int, int, int, int, int, int) - Method in class org.cell2d.Sprite
-
- draw(Graphics, int, int, int, int, int, int, boolean, boolean, double, double, Filter) - Method in class org.cell2d.Sprite
-
- draw(Graphics, int, int, int, int, int, int, double, boolean, boolean, double, Filter) - Method in class org.cell2d.Sprite
-
- Drawable - Interface in org.cell2d
-
A Drawable object is one that visually represents itself with an image
that is contextless by itself but can be drawn to a Graphics context.
- DrawableSpaceLayer - Class in org.cell2d.space
-
A DrawableSpaceLayer is a type of SpaceLayer that displays a Drawable,
optionally repeated horizontally and/or vertically across the rendering
region.
- DrawableSpaceLayer(Drawable, int, int, long, long, long, long) - Constructor for class org.cell2d.space.DrawableSpaceLayer
-
Constructs a DrawableSpaceLayer.