Revert "Создал класс EntityAircraftCarrier"
This reverts commit 1c2b4b399b
.
This commit is contained in:
parent
1c2b4b399b
commit
ba664e0b24
@ -1,34 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Security.Permissions;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ProjectAircraftCarrier
|
||||
{
|
||||
public class EntityAircraftCarrier
|
||||
{
|
||||
public int Speed { get; private set; }
|
||||
|
||||
public double Weight { get; private set; }
|
||||
|
||||
public Color BodyColor { get; private set; }
|
||||
|
||||
public Color AdditionalColor { get; private set; }
|
||||
|
||||
public bool AircraftDeck { get; private set; }
|
||||
|
||||
public bool ControlRoom { get; private set; }
|
||||
|
||||
public double Step => Speed * 100 / Weight;
|
||||
|
||||
public void Init(int speed, double weight, Color bodyColor, Color additionalColor, bool aircratDeck, bool controlRoom){
|
||||
Speed = speed;
|
||||
Weight = weight;
|
||||
BodyColor = bodyColor;
|
||||
AdditionalColor = additionalColor;
|
||||
AircraftDeck = aircratDeck;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user