Fix action drawing
This commit is contained in:
@ -204,7 +204,7 @@ final class ParallelAction implements Action {
|
|||||||
@Override
|
@Override
|
||||||
public void draw(Canvas c) {
|
public void draw(Canvas c) {
|
||||||
for (Action a : actions) {
|
for (Action a : actions) {
|
||||||
draw(c);
|
a.draw(c);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -255,7 +255,7 @@ final class SequentialAction implements Action {
|
|||||||
@Override
|
@Override
|
||||||
public void draw(Canvas c) {
|
public void draw(Canvas c) {
|
||||||
for (Action a : actions) {
|
for (Action a : actions) {
|
||||||
draw(c);
|
a.draw(c);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user