Refactored and reformatted code to use less static variables

This commit is contained in:
CrushedPixel
2015-04-23 14:09:54 +02:00
parent f22416be2c
commit 0003f040ed
109 changed files with 9037 additions and 10229 deletions

View File

@@ -2,19 +2,14 @@ package eu.crushedpixel.replaymod.holders;
public class PositionKeyframe extends Keyframe {
private Position position;
public PositionKeyframe(int realTime, Position position) {
super(realTime);
this.position = position;
}
private final Position position;
public Position getPosition() {
return position;
}
public PositionKeyframe(int realTime, Position position) {
super(realTime);
this.position = position;
}
public void setPosition(Position position) {
this.position = position;
}
public Position getPosition() {
return position;
}
}