myBall class

Inheritance

Constructors

myBall({Key? key, required double xPoint, required double yPoint, required double xVelocity, required double yVelocity, required double ballRadius, required double ballMass, required double angularVelocity, List<Path> ballPath = const [], List<Paint> ballPaint = const []})

Properties

angle double
getter/setter pairinherited
angularAcc double
getter/setter pairinherited
angularVel double
getter/setter pairinherited
angularVelocity double
getter/setter pair
backup_draws List<Path>
getter/setter pair
ballMass double
getter/setter pair
ballPaint List<Paint>
getter/setter pair
ballPath List<Path>
getter/setter pair
ballRad double
getter/setter pair
ballRadius double
getter/setter pair
baseTime double
getter/setter pairinherited
before_xPos double
getter/setter pairinherited
before_yPos double
getter/setter pairinherited
draws List<Path>
getter/setter pair
elasticConstant double
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
isClick bool
getter/setter pairinherited
isClickAfter bool
getter/setter pairinherited
isLongClick bool
getter/setter pairinherited
mass double
getter/setter pairinherited
momentI double
getter/setter pair
objType String
getter/setter pair
paints List<Paint>
getter/setter pair
rMass double
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
xAcc double
getter/setter pairinherited
xPoint double
getter/setter pair
xPos double
getter/setter pairinherited
xVel double
getter/setter pairinherited
xVelocity double
getter/setter pair
yAcc double
getter/setter pairinherited
yPoint double
getter/setter pair
yPos double
getter/setter pairinherited
yVel double
getter/setter pairinherited
yVelocity double
getter/setter pair

Methods

addAngle(double ang) → void
inherited
addXpos(double x) → void
inherited
addXvel(double x) → void
inherited
addYpos(double y) → void
inherited
addYvel(double y) → void
inherited
isBallRegion(double checkX, double checkY) bool
mulXvel(double v) → void
inherited
mulYvel(double v) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
outVel() → void
inherited
setPosition(double x, double y) → void
inherited
shuffle(int range1, int range2) → void
inherited
stop() → void
inherited
subXpos(double x) → void
inherited
subXvel(double x) → void
inherited
subYpos(double y) → void
inherited
subYvel(double y) → void
inherited
toString() String
A string representation of this object.
inherited
updateDraw() → void

Operators

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