mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
Renamed parameter.
This commit is contained in:
parent
309889c653
commit
1e7eba5bcb
@ -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];
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user