правки
This commit is contained in:
parent
f6b058b912
commit
c8a60fa26f
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user