mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-23 07:29:02 -08:00
18 lines
443 B
C#
18 lines
443 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);
|
|
}
|
|
} |