правки
This commit is contained in:
parent
1c81aec3af
commit
3afc6e4ab6
@ -48,9 +48,5 @@ namespace Battleship.DrawningObjects
|
||||
g.DrawRectangle(pen, _startPosX + 75, _startPosY + 70, 40, 10);
|
||||
}
|
||||
}
|
||||
public void SetAddColor(Color color)
|
||||
{
|
||||
((EntityBattleship)EntityShip).AdditionalColor = color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -224,14 +224,6 @@ namespace Battleship.DrawningObjects
|
||||
break;
|
||||
}
|
||||
}
|
||||
public void SetColor(Color color)
|
||||
{
|
||||
if (EntityShip == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
EntityShip.BodyColor = color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -38,7 +38,7 @@ namespace Battleship.Entities
|
||||
BodyColor = bodyColor;
|
||||
}
|
||||
|
||||
internal void setBodyColor(Color color)
|
||||
public void setBodyColor(Color color)
|
||||
{
|
||||
BodyColor = color;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user