OPR_Praktikum/6_Verkehrsmittel/Verkehrsmittel.h
2026-04-29 17:08:29 +02:00

18 lines
298 B
C++

#pragma once
#include <string>
#include <iostream>
using namespace std;
class Verkehrsmittel{
protected:
int x;
int y;
public:
Verkehrsmittel () : x(0), y(0) {}
Verkehrsmittel(int x, int y) : x(x), y(y) {}
void bewege(int zielx, int ziely);
string text();
};