Files
basic-computer-games/84 Super Star Trek/csharp/Systems/Subsystem.cs
2021-02-27 17:32:04 +11:00

21 lines
458 B
C#

using SuperStarTrek.Space;
namespace SuperStarTrek.Systems
{
internal abstract class Subsystem
{
protected Subsystem(string name, Command command)
{
Name = name;
Command = command;
Condition = 0;
}
public string Name { get; }
public double Condition { get; }
public Command Command { get; }
public abstract void ExecuteCommand(Quadrant quadrant);
}
}