Parameters class

Constructors

Parameters({double viewWidth = 0, double viewHeight = 0, double gameWidth = 1000, double gameHeight = 1000})

Properties

gameHeight ↔ double
getter/setter pair
gameWidth ↔ double
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
viewHalfHeight → double
no setter
viewHalfWidth → double
no setter
viewHeight → double
no setter
viewRect ↔ Rect
getter/setter pair
viewWidth → double
no setter
worldBounds ↔ Rect
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setViewSize(double width, double height) → void
setWorldSize(double width, double height) → void
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited