Lab2 1
This commit is contained in:
parent
26ce39f91a
commit
46232fbd36
@ -52,7 +52,5 @@ public class DrawningAiroplane : Drawningplane
|
|||||||
_startPosX -= 10;
|
_startPosX -= 10;
|
||||||
_startPosY -= 5;
|
_startPosY -= 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,7 +24,6 @@ public class Entityplane
|
|||||||
/// Основной цвет
|
/// Основной цвет
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public Color BodyColor { get; private set; }
|
public Color BodyColor { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Шаг перемещения самолета
|
/// Шаг перемещения самолета
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -36,7 +35,6 @@ public class Entityplane
|
|||||||
/// <param name="weight"></вес>
|
/// <param name="weight"></вес>
|
||||||
/// <param name="bodyColor"></Основной цвет>
|
/// <param name="bodyColor"></Основной цвет>
|
||||||
|
|
||||||
|
|
||||||
public Entityplane(int speed, double weight, Color bodyColor)
|
public Entityplane(int speed, double weight, Color bodyColor)
|
||||||
{
|
{
|
||||||
Speed = speed;
|
Speed = speed;
|
||||||
|
@ -58,7 +58,6 @@ public abstract class AbstractStrategy
|
|||||||
//{
|
//{
|
||||||
// AbstrMethod();
|
// AbstrMethod();
|
||||||
//}
|
//}
|
||||||
|
|
||||||
protected abstract void AbstrMethod();
|
protected abstract void AbstrMethod();
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Перемещение влево
|
/// Перемещение влево
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
using ProjectAiroplane.Drawnings;
|
using ProjectAiroplane.Drawnings;
|
||||||
|
|
||||||
|
|
||||||
namespace ProjectAiroplane.MovementStrategy;
|
namespace ProjectAiroplane.MovementStrategy;
|
||||||
|
|
||||||
public class Moveableplane : IMoveableObjects
|
public class Moveableplane : IMoveableObjects
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
namespace ProjectAiroplane.MovementStrategy;
|
namespace ProjectAiroplane.MovementStrategy;
|
||||||
|
|
||||||
|
|
||||||
public class ObjectParameters
|
public class ObjectParameters
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user