File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
jme3-core/src/main/java/com/jme3/anim Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2009-2024 jMonkeyEngine
2
+ * Copyright (c) 2009-2025 jMonkeyEngine
3
3
* All rights reserved.
4
4
*
5
5
* Redistribution and use in source and binary forms, with or without
@@ -313,24 +313,21 @@ public Action removeAction(String name) {
313
313
/**
314
314
* Add a layer to this composer.
315
315
*
316
- * @param name The desired name for the new layer
317
- * @param mask The desired mask for the new layer (alias created)
318
- * @return a new layer
316
+ * @param name the desired name for the new layer
317
+ * @param mask the desired mask for the new layer (alias created)
319
318
*/
320
- public AnimLayer makeLayer (String name , AnimationMask mask ) {
319
+ public void makeLayer (String name , AnimationMask mask ) {
321
320
AnimLayer l = new AnimLayer (name , mask );
322
321
layers .put (name , l );
323
- return l ;
324
322
}
325
323
326
324
/**
327
325
* Remove specified layer. This will stop the current action on this layer.
328
326
*
329
327
* @param name The name of the layer to remove.
330
- * @return The removed layer.
331
328
*/
332
- public AnimLayer removeLayer (String name ) {
333
- return layers .remove (name );
329
+ public void removeLayer (String name ) {
330
+ layers .remove (name );
334
331
}
335
332
336
333
/**
You can’t perform that action at this time.
0 commit comments