mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-27 05:03:27 -08:00
18 lines
359 B
C#
18 lines
359 B
C#
namespace Salvo.Ships;
|
|
|
|
internal sealed class Destroyer : Ship
|
|
{
|
|
internal Destroyer(string nameIndex, IReadWrite io)
|
|
: base(io, $"<{nameIndex}>")
|
|
{
|
|
}
|
|
|
|
internal Destroyer(string nameIndex, IRandom random)
|
|
: base(random, $"<{nameIndex}>")
|
|
{
|
|
}
|
|
|
|
internal override int Shots => 1;
|
|
internal override int Size => 2;
|
|
}
|