(99feac023) Unstable 0.9.704.0

This commit is contained in:
Joonas Rikkonen
2020-02-07 20:47:03 +02:00
parent 590619459b
commit 6754b9d5a2
104 changed files with 2224 additions and 1091 deletions
@@ -30,10 +30,11 @@ namespace Barotrauma
Init(columnCount, rowCount);
}
public SpriteSheet(string filePath, int columnCount, int rowCount, Vector2 origin)
public SpriteSheet(string filePath, int columnCount, int rowCount, Vector2 origin, Rectangle? sourceRect = null)
: base(filePath, origin)
{
this.origin = origin;
if (sourceRect.HasValue) { SourceRect = sourceRect.Value; }
Init(columnCount, rowCount);
}