GameViewport

final case class GameViewport(width: Int, height: Int)

Respresents the initial size of the game's viewport.

Value Params
height

Height in pixels

width

Width in pixels

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def giveDimensions(magnification: Int): Rectangle

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product

Concrete fields

val size: Size
val verticalMiddle: Int