public class Line extends GameObject
Modifier and Type | Field and Description |
---|---|
int |
line_id |
distance
Constructor and Description |
---|
Line(int lineid)
Line object
|
Modifier and Type | Method and Description |
---|---|
int |
getLineId() |
int |
getType()
Returns the type of the object
|
void |
setLineId(int id) |
getDistance, setDistance
public Line(int lineid)
lineid
- 0: top, 1: right, 2: bottom, 3: leftpublic int getLineId()
public void setLineId(int id)
public int getType()
getType
in class GameObject