You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.1 KiB
41 lines
1.1 KiB
13 years ago
|
<#assign licenseFirst = "/*">
|
||
|
<#assign licensePrefix = " * ">
|
||
|
<#assign licenseLast = " */">
|
||
|
<#include "../Licenses/license-${project.license}.txt">
|
||
|
|
||
|
<#if package?? && package != "">
|
||
|
package ${package};
|
||
|
|
||
|
</#if>
|
||
|
import com.jme3.app.Application;
|
||
|
import com.jme3.app.state.AbstractAppState;
|
||
|
import com.jme3.app.state.AppStateManager;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
* @author ${user}
|
||
|
*/
|
||
|
public class ${name} extends AbstractAppState{
|
||
|
|
||
|
@Override
|
||
|
public void initialize(AppStateManager stateManager, Application app) {
|
||
|
super.initialize(stateManager, app);
|
||
|
//TODO: initialize your AppState, e.g. attach spatials to rootNode
|
||
|
//this is called on the OpenGL thread after the AppState has been attached
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public void update(float tpf) {
|
||
|
//TODO: implement behavior during runtime
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public void cleanup() {
|
||
|
super.cleanup();
|
||
|
//TODO: clean up what you initialized in the initialize method,
|
||
|
//e.g. remove all spatials from rootNode
|
||
|
//this is called on the OpenGL thread after the AppState has been detached
|
||
|
}
|
||
|
|
||
|
}
|