|
@@ -1,5 +1,5 @@
|
|
|
/*
|
|
|
- * Copyright (c) 2009-2024 jMonkeyEngine
|
|
|
+ * Copyright (c) 2009-2022 jMonkeyEngine
|
|
|
* All rights reserved.
|
|
|
*
|
|
|
* Redistribution and use in source and binary forms, with or without
|
|
@@ -313,24 +313,21 @@ public class AnimComposer extends AbstractControl {
|
|
|
/**
|
|
|
* Add a layer to this composer.
|
|
|
*
|
|
|
- * @param name The desired name for the new layer
|
|
|
- * @param mask The desired mask for the new layer (alias created)
|
|
|
- * @return a new layer
|
|
|
+ * @param name the desired name for the new layer
|
|
|
+ * @param mask the desired mask for the new layer (alias created)
|
|
|
*/
|
|
|
- public AnimLayer makeLayer(String name, AnimationMask mask) {
|
|
|
+ public void makeLayer(String name, AnimationMask mask) {
|
|
|
AnimLayer l = new AnimLayer(name, mask);
|
|
|
layers.put(name, l);
|
|
|
- return l;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* Remove specified layer. This will stop the current action on this layer.
|
|
|
*
|
|
|
* @param name The name of the layer to remove.
|
|
|
- * @return The removed layer.
|
|
|
*/
|
|
|
- public AnimLayer removeLayer(String name) {
|
|
|
- return layers.remove(name);
|
|
|
+ public void removeLayer(String name) {
|
|
|
+ layers.remove(name);
|
|
|
}
|
|
|
|
|
|
/**
|