SpriteSelection class

Represents a specific selection of Flame Sprites.

Inheritance

Constructors

SpriteSelection({required Selection info})
Represents a specific selection of Flame Sprites.
SpriteSelection.fromJson(Map<String, dynamic> json)
Creates a SpriteSelection from json.
factory

Properties

h int
The height of the selection.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
The id of the selection.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
w int
The width of the selection.
no setterinherited
x int
The horizontal coordinate of the selection.
no setterinherited
y int
The vertical coordinate of the selection.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns this instance as a json.
override
toString() String
A string representation of this object.
inherited

Operators

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