Files
OOP-Cpp/oop_hw4/hw123/thief.h
2025-08-11 00:01:30 +08:00

24 lines
328 B
C++

#pragma once
#include <iostream>
#include "walker.h"
#include "police.h"
class walker;
using std::string;
using std::cout;
using std::cin;
class thief {
private:
string name;
double money;
bool caught;
public:
thief();
thief(string n, double m, bool c);
thief& steal(walker& x);
void display();
thief& becaught();
};