diff --git a/UPDATE_NOTES.md b/UPDATE_NOTES.md index f3790ab..77a5406 100755 --- a/UPDATE_NOTES.md +++ b/UPDATE_NOTES.md @@ -1,3 +1,6 @@ +## 22.0.0.0-alpha.6 +* `[PlutoSpritesheet]` Added a constructor to `PartialTextureSprite` that initializes the spritesheet to `null` + ## 22.0.0.0-alpha.5 * `[PlutoRuntime]` Fixed module load ordering diff --git a/buildSrc/src/main/kotlin/org/plutoengine/Versions.kt b/buildSrc/src/main/kotlin/org/plutoengine/Versions.kt index dfca1c6..77737dc 100755 --- a/buildSrc/src/main/kotlin/org/plutoengine/Versions.kt +++ b/buildSrc/src/main/kotlin/org/plutoengine/Versions.kt @@ -22,7 +22,7 @@ object Versions { const val isPrerelease = true const val prereleaseName = "alpha" - const val prerealeaseUpdate = 5 + const val prerealeaseUpdate = 6 val versionFull = if (isPrerelease) diff --git a/engine-core/plutospritesheet/src/main/java/org/plutoengine/graphics/sprite/PartialTextureSprite.java b/engine-core/plutospritesheet/src/main/java/org/plutoengine/graphics/sprite/PartialTextureSprite.java index 23ee34a..2ca1ed4 100755 --- a/engine-core/plutospritesheet/src/main/java/org/plutoengine/graphics/sprite/PartialTextureSprite.java +++ b/engine-core/plutospritesheet/src/main/java/org/plutoengine/graphics/sprite/PartialTextureSprite.java @@ -21,6 +21,11 @@ public class PartialTextureSprite implements Sprite this.height = height; } + public PartialTextureSprite(int x, int y, int width, int height) + { + this(null, x, y, width, height); + } + @Override public int getX() {