javaclient2.structures
Class PlayerSegment

java.lang.Object
  extended by javaclient2.structures.PlayerSegment

public class PlayerSegment
extends java.lang.Object

A line segment, used to construct vector-based maps.

Version:
Author:
Radu Bogdan Rusu

Constructor Summary
PlayerSegment()
           
 
Method Summary
 float getX0()
           
 float getX1()
           
 float getY0()
           
 float getY1()
           
 void setX0(float newX0)
           
 void setX1(float newX1)
           
 void setY0(float newY0)
           
 void setY1(float newY1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlayerSegment

public PlayerSegment()
Method Detail

getX0

public float getX0()
Returns:
Endpoints [m]

setX0

public void setX0(float newX0)
Parameters:
newX0 - Endpoints [m]

getY0

public float getY0()
Returns:
Endpoints [m]

setY0

public void setY0(float newY0)
Parameters:
newY0 - Endpoints [m]

getX1

public float getX1()
Returns:
Endpoints [m]

setX1

public void setX1(float newX1)
Parameters:
newX1 - Endpoints [m]

getY1

public float getY1()
Returns:
Endpoints [m]

setY1

public void setY1(float newY1)
Parameters:
newY1 - Endpoints [m]