com.jme3.terrain.collision.BaseTest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jme3-terrain Show documentation
Show all versions of jme3-terrain Show documentation
jMonkeyEngine is a 3-D game engine for adventurous Java developers
The newest version!
package com.jme3.terrain.collision;
import com.jme3.asset.AssetManager;
import com.jme3.system.TestUtil;
/**
* This class provides some utility functions to properly test the jMonkeyEngine.
* It contains simple methods to get and create a headless assetManager amongst other things.
* If you need support for image/texture formats (png, tga, jpg, ...) see {@link BaseAWTTest}
*
* @author MeFisto94
*/
public abstract class BaseTest {
private AssetManager assetManager;
public AssetManager getAssetManager() {
if (assetManager == null) {
assetManager = createAssetManager();
}
return assetManager;
}
private AssetManager createAssetManager() {
return TestUtil.createAssetManager();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy