- improve Control template
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8649 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
784740e1df
commit
3e0ab2bd64
@ -40,7 +40,7 @@ public class ${name} extends AbstractControl{
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Control cloneForSpatial(Spatial spatial) {
|
public Control cloneForSpatial(Spatial spatial) {
|
||||||
Control control = new ${name}();
|
${name} control = new ${name}();
|
||||||
//TODO: copy parameters to new Control
|
//TODO: copy parameters to new Control
|
||||||
control.setSpatial(spatial);
|
control.setSpatial(spatial);
|
||||||
return control;
|
return control;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user