Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
37 lines
824 B
Java
37 lines
824 B
Java
package electrosphere.server.datacell.gridded;
|
|
|
|
/**
|
|
* Data associated with a ServerDataCell by the GriddedDataCellManager
|
|
*/
|
|
public class GriddedDataCellTrackingData {
|
|
|
|
/**
|
|
* A really large distance used to reset the position
|
|
*/
|
|
public static final double REALLY_LARGE_DISTANCE = 1000;
|
|
|
|
/**
|
|
* The from the cell to the closest player
|
|
*/
|
|
double closestPlayer;
|
|
|
|
/**
|
|
* Gets the distance from the cell to the closest player
|
|
* @return The distance
|
|
*/
|
|
public double getClosestPlayer() {
|
|
return closestPlayer;
|
|
}
|
|
|
|
/**
|
|
* Sets the distance to the closest player
|
|
* @param closestPlayer The distance to the closest player
|
|
*/
|
|
public void setClosestPlayer(double closestPlayer) {
|
|
this.closestPlayer = closestPlayer;
|
|
}
|
|
|
|
|
|
|
|
}
|