GameViewport

final case class GameViewport(size: Size)

Respresents the initial size of the game's viewport.

Value parameters:
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

Deprecated methods

Deprecated

Inherited methods

Inherited from:
Product

Concrete fields

val height: Int
val width: Int