mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-26 04:41:52 -08:00
20 lines
445 B
C#
20 lines
445 B
C#
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);
|
|
}
|
|
}
|