BulletPos class

It's a class that holds the position of a bullet

Constructors

BulletPos({required int id, required int channel, required double position, required double width, required Widget widget})

Properties

channel int
getter/setter pair
hasExtraSpace bool
no setter
hashCode int
The hash code for this object.
no setterinherited
id int
getter/setter pair
lifetime int
getter/setter pair
position double
getter/setter pair
released bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
widget Widget
getter/setter pair
width double
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
updateWith({required double position, double width = 0}) → dynamic

Operators

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