mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-15 17:11:42 -08:00
20 lines
414 B
C#
20 lines
414 B
C#
using Games.Common.IO;
|
|
using SuperStarTrek.Space;
|
|
|
|
namespace SuperStarTrek.Systems.ComputerFunctions;
|
|
|
|
internal abstract class ComputerFunction
|
|
{
|
|
protected ComputerFunction(string description, IReadWrite io)
|
|
{
|
|
Description = description;
|
|
IO = io;
|
|
}
|
|
|
|
internal string Description { get; }
|
|
|
|
protected IReadWrite IO { get; }
|
|
|
|
internal abstract void Execute(Quadrant quadrant);
|
|
}
|