mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 23:26:40 -08:00
19 lines
444 B
C#
19 lines
444 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);
|
|
}
|
|
} |