ArmourGift class final
Constructors
- ArmourGift()
-
const
Properties
- defaultAmount → double
-
What a level should give when it does not say.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The word a level document uses in a pickup's
gives.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
announce(
double amount, String? detail) → String? -
What to tell the player. Null says nothing.
override
-
grantTo(
Inventory to, double amount, String? detail) → bool -
Grants this to
to. False when it would do nothing, and the pickup then stays where it is.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited