Renamed parameter.

This commit is contained in:
NathanSweet 2014-10-02 17:50:48 +02:00
parent 309889c653
commit 1e7eba5bcb
2 changed files with 3 additions and 3 deletions

View File

@ -778,7 +778,7 @@ public class Animation {
} }
static public class FlipXTimeline implements Timeline { static public class FlipXTimeline implements Timeline {
private final float[] frames; // time, flip, ... final float[] frames; // time, flip, ...
public FlipXTimeline (int frameCount) { public FlipXTimeline (int frameCount) {
frames = new float[frameCount << 1]; frames = new float[frameCount << 1];

View File

@ -106,9 +106,9 @@ public class Skin {
String name; String name;
int hashCode; int hashCode;
public void set (int slotName, String name) { public void set (int slotIndex, String name) {
if (name == null) throw new IllegalArgumentException("name cannot be null."); if (name == null) throw new IllegalArgumentException("name cannot be null.");
this.slotIndex = slotName; this.slotIndex = slotIndex;
this.name = name; this.name = name;
hashCode = 31 * (31 + name.hashCode()) + slotIndex; hashCode = 31 * (31 + name.hashCode()) + slotIndex;
} }