mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-23 07:29:02 -08:00
Add Library-Computer
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user