SKryptonRegion(region: Region, screen: SKryptonScreen)
Region constructor
region
- Region to inherit from.
screen
- Screen that this region should belong to.
SKryptonRegion(rect: Rectangle, screen: SKryptonScreen)
Rectangle constructor
rect
- Uses the rectangles dimensions to construct this region.
screen
- Screen that this region should belong to.
SKryptonRegion(xPos: Int, yPos: Int, width: Int, height: Int, screen: SKryptonScreen)
Like main constructor but has additional screen param.
xPos
- x coordinate of the top left corner of the region.
yPos
- y coordinate of the top left corner of the region.
height
- Height of the region.
screen
- Screen that this region should belong to.
SKryptonRegion(xPos: Int, yPos: Int, width: Int, height: Int)
Main constructor
xPos
- x coordinate of the top left corner of the region.
yPos
- y coordinate of the top left corner of the region.
height
- Height of the region.
Constructor
Main constructor