Package com.dragonboat.game
Class Course
- java.lang.Object
-
- com.dragonboat.game.Course
-
public class Course extends java.lang.Object
Represents the race course.
-
-
Field Summary
Fields Modifier and Type Field Description int
finishY
Lane[]
lanes
int
leftBoundary
int
rightBoundary
int
startY
com.badlogic.gdx.graphics.Texture
texture
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getNoLanes()
com.badlogic.gdx.graphics.Texture
getTexture()
-
-
-
Field Detail
-
lanes
public Lane[] lanes
-
startY
public int startY
-
finishY
public int finishY
-
leftBoundary
public int leftBoundary
-
rightBoundary
public int rightBoundary
-
texture
public com.badlogic.gdx.graphics.Texture texture
-
-
Constructor Detail
-
Course
public Course(com.badlogic.gdx.graphics.Texture texture, Lane[] lanes)
Creates a course instance for all the boats.- Parameters:
texture
- Texture asset for the course.lanes
- Array of lane objects for the course.
-
-