Skip to content

Commit

Permalink
Fix access modifiers in Animation to support exporting Json
Browse files Browse the repository at this point in the history
This changes the access modifiers of the fields keyframes, name and spritesheet in Animation-class so it can be used in the export process.
  • Loading branch information
nwessman committed Mar 8, 2021
1 parent 7a0f8f5 commit 083e2c4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ public class Animation implements IUpdateable, ILaunchable {
public static final int DEFAULT_FRAME_DURATION = 120;
private static final Logger log = Logger.getLogger(Animation.class.getName());

private final List<KeyFrame> keyframes;
private final String name;
private Spritesheet spritesheet;
public final List<KeyFrame> keyframes;
public final String name;
public Spritesheet spritesheet;

private KeyFrame currentFrame;
private long lastFrameUpdate;
Expand Down

0 comments on commit 083e2c4

Please sign in to comment.