public class WorldVector2D extends Vector2D
| Modifier and Type | Field and Description |
|---|---|
protected LocalWorld |
world
Represents the world.
|
| Constructor and Description |
|---|
WorldVector2D(LocalWorld world) |
WorldVector2D(LocalWorld world,
double x,
double z) |
WorldVector2D(LocalWorld world,
float x,
float z) |
WorldVector2D(LocalWorld world,
int x,
int z) |
WorldVector2D(LocalWorld world,
Vector2D pt) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Checks if another object is equivalent.
|
LocalWorld |
getWorld() |
int |
hashCode()
Gets the hash code.
|
add, add, add, add, ceil, containedWithin, containedWithinBlock, distance, distanceSq, divide, divide, divide, divide, divide, divide, dot, floor, getBlockX, getBlockZ, getMaximum, getMinimum, getX, getZ, isCollinearWith, length, lengthSq, multiply, multiply, multiply, multiply, multiply, multiply, multiply, normalize, positive, round, setX, setX, setZ, setZ, subtract, subtract, subtract, subtract, toBlockVector2D, toString, toVector, toVector, transform2Dprotected LocalWorld world
public WorldVector2D(LocalWorld world)
public WorldVector2D(LocalWorld world, double x, double z)
public WorldVector2D(LocalWorld world, float x, float z)
public WorldVector2D(LocalWorld world, int x, int z)
public WorldVector2D(LocalWorld world, Vector2D pt)
public LocalWorld getWorld()
public boolean equals(Object obj)
Copyright © 2010-2014. All Rights Reserved.