Package com.dragonboat.game
Class Course
- java.lang.Object
- 
- com.dragonboat.game.Course
 
- 
 public class Course extends java.lang.ObjectRepresents the race course.
- 
- 
Field SummaryFields Modifier and Type Field Description intfinishYLane[]lanesintleftBoundaryintrightBoundaryintstartYcom.badlogic.gdx.graphics.Texturetexture
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetNoLanes()com.badlogic.gdx.graphics.TexturegetTexture()
 
- 
- 
- 
Field Detail- 
lanespublic Lane[] lanes 
 - 
startYpublic int startY 
 - 
finishYpublic int finishY 
 - 
leftBoundarypublic int leftBoundary 
 - 
rightBoundarypublic int rightBoundary 
 - 
texturepublic com.badlogic.gdx.graphics.Texture texture 
 
- 
 - 
Constructor Detail- 
Coursepublic 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.
 
 
- 
 
-