ELightning class

Inheritance

Constructors

ELightning(ERelativePair position, double spread, ERelative glow, ERelative width, ERelative curve, int numberOfPoints, double buildingTimeInTicks, EColorShift color, bool throwsLight, double lightningBlur, int repainter, {String name = ""})

Properties

buildingTimeInTicks double
getter/setter pair
color EColorShift
getter/setter pair
curve ERelative
getter/setter pair
glow ERelative
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isDrawable bool
no setterinherited
isToggled bool
getter/setter pairinherited
lightningBlur double
getter/setter pair
name String
getter/setter pairinherited
numberOfPoints int
getter/setter pair
position ERelativePair
getter/setter pair
repainter int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spread double
getter/setter pair
throwsLight bool
getter/setter pair
updateFromScene bool
no setterinherited
width ERelative
getter/setter pair

Methods

buildLightningOnNextTickATTarget(ERelativePair targetPosition) → void
draw(Canvas canvas, Size size) → void
override
drawEffect(Canvas canvas, Size size) → void
override
drawLight(Canvas canvas, Size size) → void
override
fireLightningIn(double ticks) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toggle() → void
inherited
toString() String
A string representation of this object.
inherited
update(double deltaTime, Size size) → void
override

Operators

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