mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 15:24:55 +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 {
|
||||
private final float[] frames; // time, flip, ...
|
||||
final float[] frames; // time, flip, ...
|
||||
|
||||
public FlipXTimeline (int frameCount) {
|
||||
frames = new float[frameCount << 1];
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user