Package nl.colorize.multimedialib.tool
Class SpriteSheetPacker
- java.lang.Object
-
- nl.colorize.multimedialib.tool.CommandLineTool
-
- nl.colorize.multimedialib.tool.SpriteSheetPacker
-
public class SpriteSheetPacker extends CommandLineTool
Creates a new sprite sheet by taking all images located within a direcory, and packing them into a single sprite sheet.
-
-
Field Summary
Fields Modifier and Type Field Description intexcludeSizejava.io.FileinputDirjava.lang.StringmetadataFormatjava.io.FileoutputDataFilejava.io.FileoutputImageFileintsize
-
Constructor Summary
Constructors Constructor Description SpriteSheetPacker()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)voidrun()Runs this tool.-
Methods inherited from class nl.colorize.multimedialib.tool.CommandLineTool
start
-
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
-
run
public void run()
Description copied from class:CommandLineToolRuns this tool. This method is called byCommandLineTool.start(String[]). When this method is called it can be assumed that arguments have already been mapped to fields.- Specified by:
runin classCommandLineTool
-
-