@Override
public void initialize() {
// Input
Camera camera = engine.getManager(BaseSceneManager.class).getDefaultCamera();
Batch batch = engine.getManager(BaseSceneManager.class).getBatch();
BitmapFont font = engine.getManager(BaseGUIManager.class).getDefaultFont();
systems.add(new DelaySystem(context.core))
.add(new RendererSystem(context.core, engine.sr, camera, batch, font));
Texture texture = assetsManager.getTexture(splash);
context.core.createEntity()
.addTextureView("Pong", new TextureRegion(texture, 0, 0, texture.getWidth(), texture.getHeight()), new Vector2(),
0, Pong.SCREEN_HEIGHT, Pong.SCREEN_WIDTH)
.addDelay(3);
}
SplashState.java 文件源码
java
阅读 27
收藏 0
点赞 0
评论 0
项目:Entitas-Java
作者:
评论列表
文章目录