mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-02 20:13:50 +08:00
Fix formatting
This commit is contained in:
@ -70,7 +70,6 @@ abstract class PositionComponentEffect {
|
||||
bool isMax() => percentage == null ? false : percentage == 1.0;
|
||||
bool isMin() => percentage == null ? false : percentage == 0.0;
|
||||
|
||||
|
||||
void reset() {
|
||||
_isDisposed = false;
|
||||
percentage = null;
|
||||
|
||||
@ -33,7 +33,7 @@ class MoveEffect extends PositionComponentEffect {
|
||||
@override
|
||||
void initialize(_comp) {
|
||||
super.initialize(_comp);
|
||||
if(!isAlternating) {
|
||||
if (!isAlternating) {
|
||||
endPosition = destination;
|
||||
}
|
||||
|
||||
|
||||
@ -23,7 +23,7 @@ class RotateEffect extends PositionComponentEffect {
|
||||
@override
|
||||
void initialize(_comp) {
|
||||
super.initialize(_comp);
|
||||
if(!isAlternating) {
|
||||
if (!isAlternating) {
|
||||
endAngle = _comp.angle + radians;
|
||||
}
|
||||
_originalAngle = component.angle;
|
||||
|
||||
@ -30,7 +30,7 @@ class ScaleEffect extends PositionComponentEffect {
|
||||
@override
|
||||
void initialize(_comp) {
|
||||
super.initialize(_comp);
|
||||
if(!isAlternating) {
|
||||
if (!isAlternating) {
|
||||
endSize = Position.fromSize(size);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user