|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Point | |
---|---|
appletbots | |
appletbots.geometry |
Uses of Point in appletbots |
---|
Methods in appletbots that return Point | |
---|---|
Point |
WorldObjectData.getLocation()
Returns the location of the object. |
protected Point |
World.getRandomPoint()
Returns a random point in the world |
protected Point |
World.getRandomPoint(int distance)
Returns a random point in the world within a given distance from the boundaries |
Methods in appletbots with parameters of type Point | |
---|---|
void |
World.addObject(WorldObject object,
Point location,
Vector velocity)
Adds an object to the world at the given position with the given initial velocity |
protected boolean |
World.inWorld(Point location,
int size)
Returns whether or not an object with the given size at the given location would be complete inside the boundaries of the world |
void |
WorldObjectData.setLocation(Point location)
Sets the location of the object |
Constructors in appletbots with parameters of type Point | |
---|---|
WorldObjectData(Point location,
Vector velocity,
WorldObject object)
Constructs a new WorldObjectData with the given location and velocity values for the given object |
Uses of Point in appletbots.geometry |
---|
Methods in appletbots.geometry that return Point | |
---|---|
Point |
Point.add(Vector vector)
Returns the result of adding a vector to this point |
Methods in appletbots.geometry with parameters of type Point | |
---|---|
double |
Point.distance(Point point)
Returns the distance between this point and another point |
Constructors in appletbots.geometry with parameters of type Point | |
---|---|
Vector(Point start,
Point end)
Constructs a new vector from one point to another |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |