15 lines
353 B
C++
15 lines
353 B
C++
#pragma once
|
|
#include <string>
|
|
#include "Verkehrsmittel.h"
|
|
|
|
class Luftfahrzeug : public Verkehrsmittel{
|
|
int max_hoehe;
|
|
int z;
|
|
|
|
public:
|
|
Luftfahrzeug() : max_hoehe(0), z(0) {}
|
|
Luftfahrzeug(int max_hoehe) : max_hoehe(max_hoehe), z(0) {}
|
|
Luftfahrzeug(int max_hoehe, int z) : max_hoehe(max_hoehe), z(z) {}
|
|
|
|
std::string text();
|
|
}; |