deprecate Control.cloneForSpatial()
This commit is contained in:
parent
826908b042
commit
cf7912720d
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2012 jMonkeyEngine
|
* Copyright (c) 2009-2018 jMonkeyEngine
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -47,11 +47,15 @@ import com.jme3.scene.Spatial;
|
|||||||
public interface Control extends Savable {
|
public interface Control extends Savable {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a clone of the Control, the given Spatial is the cloned
|
* Creates a clone of the Control, the given Spatial is the cloned version
|
||||||
* version of the spatial to which this control is attached to.
|
* of the spatial to which this control is attached to.
|
||||||
|
*
|
||||||
* @param spatial
|
* @param spatial
|
||||||
* @return A clone of this control for the spatial
|
* @return A clone of this control for the spatial
|
||||||
|
* @deprecated Use
|
||||||
|
* {@link com.jme3.util.clone.JmeCloneable#cloneFields(com.jme3.util.clone.Cloner, java.lang.Object)}
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public Control cloneForSpatial(Spatial spatial);
|
public Control cloneForSpatial(Spatial spatial);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user