Character class
Constructors
-
Character({required String name, required Paragraph description, required Species species, required String age, required int remainingCharacterPoints, required int totalCharacterPoints, required HealthPoints healthPoints, required List<
Attribute> attributes, required Inventory inventory, required List<Spell> spells, required List<String> bonuses})
Properties
- age → String
-
final
-
attributes
→ List<
Attribute> -
final
-
bonuses
→ List<
String> -
final
- description → Paragraph
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- healthPoints → HealthPoints
-
final
- inventory → Inventory
-
final
- name → String
-
final
- remainingCharacterPoints → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- species → Species
-
final
-
spells
→ List<
Spell> -
final
- totalCharacterPoints → int
-
final
Methods
-
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.
override