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