Uses of Class
com.codingame.gameengine.module.entities.SpriteSheetSplitter
-
Uses of SpriteSheetSplitter in com.codingame.gameengine.module.entities
Modifier and TypeMethodDescriptionGraphicEntityModule.createSpriteSheetSplitter()
Create a spritesheet splitter.SpriteSheetSplitter.setHeight
(int height) Sets the height of the subimages to extract Defaults to full height of spritesheet if not setSpriteSheetSplitter.setImageCount
(int imageCount) Sets the number of subimages to be extractedSpriteSheetSplitter.setImagesPerRow
(int imagesPerRow) Sets the number of subimages to extract per row before advancing to theorigCol
th column of the next row.Sets the prefix of all subimage names.SpriteSheetSplitter.setOrigCol
(int origCol) Sets the column of subimages from which subimages start being extractingSpriteSheetSplitter.setOrigRow
(int origRow) Sets the row of subimages from which subimages start being extractingSpriteSheetSplitter.setSourceImage
(String sourceImage) Sets the image from which to extract subimagesSpriteSheetSplitter.setWidth
(int width) Sets the width of the subimages to extract Defaults to full width of spritesheet if not set