Add description to help text

This commit is contained in:
Starbeamrainbowlabs 2016-05-21 15:38:22 +01:00
parent 345dd1651c
commit 6b158a1adf
2 changed files with 3 additions and 0 deletions

View file

@ -1,6 +1,8 @@
SpritePacker {version}, by Starbeamrainbowlabs SpritePacker {version}, by Starbeamrainbowlabs
Built at {build-date} Built at {build-date}
An advanced sprite packing tool
Usage: Usage:
[mono ]./SpritePacker.exe [flags] /path/to/output/file.png [filenames] [mono ]./SpritePacker.exe [flags] /path/to/output/file.png [filenames]

View file

@ -50,6 +50,7 @@ namespace SpritePacker
public int Right { get { return area.Right; } } public int Right { get { return area.Right; } }
public int AreaSize { get { return area.Width * area.Height; } } public int AreaSize { get { return area.Width * area.Height; } }
public int MaxSideLength { get { return Math.Max(area.Width, area.Height); } }
public Sprite(string inFilename) public Sprite(string inFilename)
{ {