DeployedCard<T extends TargetCard> class sealed

A card that is in play.

Implementers
Annotations
  • @immutable

Constructors

DeployedCard({required T card, required int damage})

Properties

card → T
Details (i.e. the card) about the unit.
final
damage int
Amount of damage this unit has taken.
final
hashCode int
The hash code for this object.
no setteroverride
health int
How much health the unit has left.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDebugString() String
Returns a string representation of this object, suitable for debugging.
inherited
toString() String
A string representation of this object.
inherited

Operators

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