File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
jme3-core/src/main/java/com/jme3/asset Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2009-2012 jMonkeyEngine
2
+ * Copyright (c) 2009-2023 jMonkeyEngine
3
3
* All rights reserved.
4
4
*
5
5
* Redistribution and use in source and binary forms, with or without
@@ -65,13 +65,14 @@ public interface CloneableSmartAsset extends Cloneable {
65
65
public CloneableSmartAsset clone ();
66
66
67
67
/**
68
- * Set by the {@link AssetManager} to track this asset.
68
+ * Assigns the specified AssetKey to the asset.
69
69
*
70
- * Only clones of the asset has this set, the original copy that
71
- * was loaded has this key set to null so that only the clones are tracked
72
- * for garbage collection.
70
+ * This is invoked by the {@link AssetManager}.
71
+ * Only clones of the asset have non-null keys. The original copy that
72
+ * was loaded has no key assigned. Only the clones are tracked
73
+ * for garbage collection.
73
74
*
74
- * @param key The AssetKey to set
75
+ * @param key The AssetKey to assign
75
76
*/
76
77
public void setKey (AssetKey key );
77
78
You can’t perform that action at this time.
0 commit comments