Лишние пробелы убраны.
This commit is contained in:
parent
cc7aadb10d
commit
f4343ce125
@ -13,7 +13,6 @@ namespace Liner
|
||||
{
|
||||
Ship = new EntityLiner(speed, weight, bodyColor, dopColor, dopDeck, pool);
|
||||
}
|
||||
|
||||
public override void DrawTransport(Graphics g)
|
||||
{
|
||||
if (Ship is not EntityLiner liner)
|
||||
|
@ -25,7 +25,6 @@ namespace Liner
|
||||
_ShipWidth = shipWidth;
|
||||
_ShipHeight = shipHeight;
|
||||
}
|
||||
|
||||
public void SetPosition(int x, int y, int width, int height)
|
||||
{
|
||||
if (width <= _ShipWidth + x || height <= _ShipHeight + y || x<0 || y<0)
|
||||
|
Loading…
Reference in New Issue
Block a user