More refactoring (tm)

This commit is contained in:
Lucas
2019-07-07 15:10:50 +02:00
parent e1a815eddd
commit e2aac6d899
159 changed files with 38213 additions and 46222 deletions

View File

@@ -108,9 +108,9 @@ public final class GraphicsObject extends Entity {
garbageValue = "-730240149"
)
@Export("advance")
final void advance(int var1) {
final void advance(int cycles) {
if (!this.isFinished) {
this.frameCycle += var1;
this.frameCycle += cycles;
while (this.frameCycle > this.sequenceDefinition.frameLengths[this.frame]) {
this.frameCycle -= this.sequenceDefinition.frameLengths[this.frame];