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("use \'toRectangle\' instead")
Deprecated

Inherited methods

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

Concrete fields

val height: Int
val width: Int