Add Library-Computer

This commit is contained in:
Andrew Cooper
2021-03-11 07:20:28 +11:00
parent d0ed8d2f35
commit b422db3f4a
27 changed files with 503 additions and 34 deletions

View File

@@ -0,0 +1,18 @@
using SuperStarTrek.Space;
namespace SuperStarTrek.Systems.ComputerFunctions
{
internal abstract class ComputerFunction
{
protected ComputerFunction(string description, Output output)
{
Description = description;
Output = output;
}
internal string Description { get; }
protected Output Output { get; }
internal abstract void Execute(Quadrant quadrant);
}
}