Convenience constructor for PartialTextureSprite
This commit is contained in:
parent
efb6b3ba04
commit
8313c08034
|
@ -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
|
## 22.0.0.0-alpha.5
|
||||||
* `[PlutoRuntime]` Fixed module load ordering
|
* `[PlutoRuntime]` Fixed module load ordering
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ object Versions {
|
||||||
|
|
||||||
const val isPrerelease = true
|
const val isPrerelease = true
|
||||||
const val prereleaseName = "alpha"
|
const val prereleaseName = "alpha"
|
||||||
const val prerealeaseUpdate = 5
|
const val prerealeaseUpdate = 6
|
||||||
|
|
||||||
val versionFull =
|
val versionFull =
|
||||||
if (isPrerelease)
|
if (isPrerelease)
|
||||||
|
|
|
@ -21,6 +21,11 @@ public class PartialTextureSprite implements Sprite<RectangleTexture>
|
||||||
this.height = height;
|
this.height = height;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public PartialTextureSprite(int x, int y, int width, int height)
|
||||||
|
{
|
||||||
|
this(null, x, y, width, height);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getX()
|
public int getX()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue