generate functionThu, 25 May 2023
ShipType getType() const, ShipState getState() const. Getters que devuelven los valores de los atributos
#include <string> using namespace std; ShipState getState() const { return state_; } ShipType getType() const { return type_; }