Package games.pixscape.runtime.service
Class AtlasAssetBinding
java.lang.Object
games.pixscape.runtime.service.AtlasAssetBinding
Complete, load-time binding for one Pixscape asset in an atlas.
The region array is built and ordered once by AtlasAssetIndexBuilder
and remains private. Consumers use indexed, allocation-free accessors.
-
Method Details
-
assetId
public int assetId() -
regionGroup
-
firstRegion
public com.badlogic.gdx.graphics.g2d.TextureAtlas.AtlasRegion firstRegion() -
regionCount
public int regionCount() -
regionAt
public com.badlogic.gdx.graphics.g2d.TextureAtlas.AtlasRegion regionAt(int index) -
metadata
-