Package com.dragonboat.game
Class Course
- java.lang.Object
-
- com.dragonboat.game.Course
-
public class Course extends java.lang.ObjectRepresents the race course.
-
-
Field Summary
Fields Modifier and Type Field Description intfinishYLane[]lanesintleftBoundaryintrightBoundaryintstartYcom.badlogic.gdx.graphics.Texturetexture
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetNoLanes()com.badlogic.gdx.graphics.TexturegetTexture()
-
-
-
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.
-
-