Переименование классов
This commit is contained in:
parent
8127c1cc38
commit
9a87009db1
@ -1,10 +1,10 @@
|
||||
namespace WarPlanes
|
||||
{
|
||||
internal class DrawningObject : IDrawningObject
|
||||
internal class DrawningObjectWarPlane : IDrawningObject
|
||||
{
|
||||
private DrawningWarPlane _warplane = null;
|
||||
|
||||
public DrawningObject(DrawningWarPlane warplane)
|
||||
public DrawningObjectWarPlane(DrawningWarPlane warplane)
|
||||
{
|
||||
_warplane = warplane;
|
||||
}
|
@ -18,7 +18,7 @@
|
||||
toolStripStatusLabelSpeed.Text = $"Скорость: {warplane.WarPlane.Speed}";
|
||||
toolStripStatusLabelWeight.Text = $"Вес: {warplane.WarPlane.Weight}";
|
||||
toolStripStatusLabelBodyColor.Text = $"Цвет: {warplane.WarPlane.BodyColor.Name}";
|
||||
pictureBoxWarPlane.Image = _abstractMap.CreateMap(pictureBoxWarPlane.Width, pictureBoxWarPlane.Height, new DrawningObject(warplane));
|
||||
pictureBoxWarPlane.Image = _abstractMap.CreateMap(pictureBoxWarPlane.Width, pictureBoxWarPlane.Height, new DrawningObjectWarPlane(warplane));
|
||||
}
|
||||
/// <summary>
|
||||
/// Обработка нажатия кнопки "Создать"
|
||||
|
Loading…
x
Reference in New Issue
Block a user