mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2026-01-02 00:00:14 -08:00
18 lines
293 B
C#
18 lines
293 B
C#
namespace Salvo.Ships;
|
|
|
|
internal sealed class Battleship : Ship
|
|
{
|
|
internal Battleship(IReadWrite io)
|
|
: base(io)
|
|
{
|
|
}
|
|
|
|
internal Battleship(IRandom random)
|
|
: base(random)
|
|
{
|
|
}
|
|
|
|
internal override int Shots => 3;
|
|
internal override int Size => 5;
|
|
}
|