그룹의 멤버 인 textureRegion으로 액터를 그리는 방법을 알고 싶습니다.textureRegion을 사용한 드로잉
내가 적의 그룹을 가졌다 고합시다.
private Group enemies;
private SpriteBatch batcher;
한 명의 배우에 대해서 저는 이렇게하고 있습니다.
batcher = new SpriteBatch();
batcher.begin();
batcher.draw(textureRegion, actor position parameters vs vs);
batcher.end();
이처럼 전체 그룹의 액터를 그리는 방법을 알고 싶습니다. 그리기에는 method이 있지만이 메서드는 TextureRegion 매개 변수를 사용하지 않습니다.
public void draw(Batch batch,
float parentAlpha)
TextureRegion으로 그룹을 그릴 수 있습니까?
enemies.draw(textureRegion, vs vs);