class Spaceship { public: Spaceship():shields(100) { } int shields; };