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 11/*
2- * Copyright (c) 2009-2024 jMonkeyEngine
2+ * Copyright (c) 2009-2025 jMonkeyEngine
33 * All rights reserved.
44 *
55 * Redistribution and use in source and binary forms, with or without
@@ -313,24 +313,21 @@ public Action removeAction(String name) {
313313 /**
314314 * Add a layer to this composer.
315315 *
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)
319318 */
320- public AnimLayer makeLayer (String name , AnimationMask mask ) {
319+ public void makeLayer (String name , AnimationMask mask ) {
321320 AnimLayer l = new AnimLayer (name , mask );
322321 layers .put (name , l );
323- return l ;
324322 }
325323
326324 /**
327325 * Remove specified layer. This will stop the current action on this layer.
328326 *
329327 * @param name The name of the layer to remove.
330- * @return The removed layer.
331328 */
332- public AnimLayer removeLayer (String name ) {
333- return layers .remove (name );
329+ public void removeLayer (String name ) {
330+ layers .remove (name );
334331 }
335332
336333 /**
You can’t perform that action at this time.
0 commit comments