18 lines
298 B
C++
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();
|
|
}; |