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 {
private final float[] frames; // time, flip, ...
final float[] frames; // time, flip, ...
public FlipXTimeline (int frameCount) {
frames = new float[frameCount << 1];

View File

@ -106,9 +106,9 @@ public class Skin {
String name;
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.");
this.slotIndex = slotName;
this.slotIndex = slotIndex;
this.name = name;
hashCode = 31 * (31 + name.hashCode()) + slotIndex;
}