ObjectsSpawned class final

Inheritance
Annotations

Constructors

ObjectsSpawned(String table, [Map<VectorDefinition, List<GameObject>> objects = const {}])
ObjectsSpawned.single(GlobalVectorDefinition cell, List<GameObject> objects)
ObjectsSpawned.singleObject(GlobalVectorDefinition cell, GameObject object)

Properties

copyWith → ObjectsSpawnedCopyWith<ObjectsSpawned, ObjectsSpawned, ObjectsSpawned>
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
objects → Map<VectorDefinition, List<GameObject>>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
table → String
final

Methods

addObject(int x, int y, GameObject object) → ObjectsSpawned
addObjects(int x, int y, List<GameObject> objects) → ObjectsSpawned
addObjectsWithLocation(VectorDefinition location, List<GameObject> objects) → ObjectsSpawned
addObjectWithLocation(VectorDefinition location, GameObject object) → ObjectsSpawned
inBounds(VectorDefinition start, VectorDefinition end) → bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
object(int x, int y, ItemLocation asset, {String? variation, bool hidden = false}) → ObjectsSpawned
objectWithLocation(VectorDefinition location, ItemLocation asset, {String? variation, bool hidden = false}) → ObjectsSpawned
toJson() → String
inherited
toMap() → Map<String, dynamic>
inherited
toString() → String
A string representation of this object.
inherited

Operators

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