- objectIsWithinCircle(CellVector, long, Class<O>) - Method in class org.cell2d.space.SpaceState
-
Returns whether this SpaceState has any SpaceObjects of the specified
class with their centers within the specified circular region.
- objectIsWithinCircle(long, long, long, Class<O>) - Method in class org.cell2d.space.SpaceState
-
Returns whether this SpaceState has any SpaceObjects of the specified
class with their centers within the specified circular region.
- objectIsWithinRadius(long, Class<O>) - Method in class org.cell2d.space.SpaceObject
-
Returns whether there are any SpaceObjects of the specified class within
the specified radius of this SpaceObject in its SpaceState, or false if
this SpaceObject has no SpaceState.
- objectIsWithinRectangle(long, long, long, long, Class<O>) - Method in class org.cell2d.space.SpaceState
-
Returns whether this SpaceState has any SpaceObjects of the specified
class with their centers within the specified rectangular region.
- objectIterator() - Method in class org.cell2d.space.SpaceState
-
Returns a new SafeIterator over this SpaceState's list of SpaceObjects.
- objectsWithinCircle(CellVector, long, Class<O>) - Method in class org.cell2d.space.SpaceState
-
Returns all of this SpaceState's SpaceObjects of the specified class with
their centers within the specified circular region.
- objectsWithinCircle(long, long, long, Class<O>) - Method in class org.cell2d.space.SpaceState
-
Returns all of this SpaceState's SpaceObjects of the specified class with
their centers within the specified circular region.
- objectsWithinRadius(long, Class<O>) - Method in class org.cell2d.space.SpaceObject
-
Returns all of the SpaceObjects of the specified class within the
specified radius of this SpaceObject in its SpaceState, or an empty list
if this SpaceObject has no SpaceState.
- objectsWithinRectangle(long, long, long, long, Class<O>) - Method in class org.cell2d.space.SpaceState
-
Returns all of this SpaceState's SpaceObjects of the specified class with
their centers within the specified rectangular region.
- objectWithinCircle(CellVector, long, Class<O>) - Method in class org.cell2d.space.SpaceState
-
Returns one of this SpaceState's SpaceObjects of the specified class with
its center within the specified circular region, or null if there is
none.
- objectWithinCircle(long, long, long, Class<O>) - Method in class org.cell2d.space.SpaceState
-
Returns one of this SpaceState's SpaceObjects of the specified class with
its center within the specified circular region, or null if there is
none.
- objectWithinRadius(long, Class<O>) - Method in class org.cell2d.space.SpaceObject
-
Returns a SpaceObject of the specified class within the specified radius
of this SpaceObject in its SpaceState - or null if there is none, or if
this SpaceObject has no SpaceState.
- objectWithinRectangle(long, long, long, long, Class<O>) - Method in class org.cell2d.space.SpaceState
-
Returns one of this SpaceState's SpaceObjects of the specified class with
its center within the specified rectangular region, or null if there is
none.
- opposite() - Method in enum org.cell2d.Direction
-
Returns the Direction opposite this one.
- org.cell2d - package org.cell2d
-
- org.cell2d.basic - package org.cell2d.basic
-
- org.cell2d.control - package org.cell2d.control
-
- org.cell2d.space - package org.cell2d.space
-
- org.cell2d.space.basic - package org.cell2d.space.basic
-
- org.cell2d.space.map - package org.cell2d.space.map
-
- org.cell2d.util - package org.cell2d.util
-
- overlap(Hitbox, Hitbox) - Static method in class org.cell2d.space.Hitbox
-
Returns whether the two specified Hitboxes overlap.
- overlap(SpaceObject, SpaceObject) - Static method in class org.cell2d.space.SpaceObject
-
Returns whether the two specified SpaceObjects overlap.
- overlappingObject(Class<O>) - Method in class org.cell2d.space.SpaceObject
-
Returns a SpaceObject of the specified class in this SpaceObject's
SpaceState that is overlapping it, or null if there is none.
- overlappingObject(Hitbox, Class<O>) - Method in class org.cell2d.space.SpaceState
-
Returns one of this SpaceState's SpaceObjects of the specified class that
overlaps the specified Hitbox, or null if there is none.
- overlappingObjects(Class<O>) - Method in class org.cell2d.space.SpaceObject
-
Returns all of the SpaceObjects of the specified class in this
SpaceObject's SpaceState that are overlapping it.
- overlappingObjects(Hitbox, Class<O>) - Method in class org.cell2d.space.SpaceState
-
Returns all of this SpaceState's SpaceObjects of the specified class that
overlap the specified Hitbox.
- overlaps(Hitbox) - Method in class org.cell2d.space.Hitbox
-
Returns whether this Hitbox overlaps the specified Hitbox.
- overlaps(SpaceObject) - Method in class org.cell2d.space.SpaceObject
-
Returns whether this SpaceObject overlaps the specified SpaceObject.