ModifiablePoints class

Inheritance

Constructors

ModifiablePoints.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
modifier int
Gets the positive points modifier.
no setteroverride
negative int
Gets the negative points.
no setteroverride
occurrences int
Gets the total number of positive occurrences.
no setteroverride
positive int
Gets the positive points.
no setteroverride
positiveModded int
Gets the total count of positive points.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
total int
Gets the total points count.
no setterinherited

Methods

addNegative(int count) → void
addPoints(Points other) → void
addPositive(int count, int occurrence) → void
clear() → void
compareTo(Points other) int
Compares this object to another object.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
subtractPoints(Points other) → void
toDouble() double
Gets the total points as a double.
inherited
toInt() int
Gets the total points.
inherited
toString() String
A string representation of this object.
inherited
toUnmodifiable() Points
Converts this Points to an UnmodifiablePoints.
inherited

Operators

operator *(Points p) Points
inherited
operator +(Points p) Points
inherited
operator -(Points p) Points
inherited
operator /(Points p) Points
inherited
operator <(dynamic other) bool
inherited
operator <=(dynamic other) bool
inherited
operator ==(Object other) bool
The equality operator.
inherited
operator >(dynamic other) bool
inherited
operator >=(dynamic other) bool
inherited