static void Main(string[] args) { BattleShip battleShip = new BattleShip(); battleShip.Sail(); battleShip.Fight(); }
static void Main(string[] args) { BattleShip bS = new BattleShip(); Console.WriteLine("種類 : {0}", bS.Type); bS.Sail(); bS.Battle(); }