Cleaned up the flipping logic a bit, overridable MapEntity.FlipX method
This commit is contained in:
@@ -798,6 +798,16 @@ namespace Barotrauma
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public override void FlipX()
|
||||
{
|
||||
base.FlipX();
|
||||
|
||||
foreach (ItemComponent component in components)
|
||||
{
|
||||
component.FlipX();
|
||||
}
|
||||
}
|
||||
|
||||
public override void Draw(SpriteBatch spriteBatch, bool editing, bool back = true)
|
||||
|
||||
Reference in New Issue
Block a user