mirror of
https://github.com/MaddyThorson/StrawberryBF.git
synced 2025-07-06 20:45:26 +08:00
Image scale/rotation works
This commit is contained in:
@ -15,12 +15,12 @@ namespace Strawberry
|
||||
Offset = offset;
|
||||
}
|
||||
|
||||
public Point DrawPosition => Entity.Position + Offset - Origin;
|
||||
public Point DrawPosition => Entity.Position + Offset;
|
||||
|
||||
public void Draw()
|
||||
{
|
||||
if (Texture != null)
|
||||
Game.Batcher.Tex(Texture, DrawPosition);
|
||||
Game.Batcher.Tex(Texture, DrawPosition, Origin, Scale, Rotation);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user