Project:Cainiao_Estation
This commit is contained in:
20
Cai_Niao_E_Station/delivery_method.h
Normal file
20
Cai_Niao_E_Station/delivery_method.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
#include <iostream>
|
||||
#include "user.h"
|
||||
#include "package.h"
|
||||
#include "stock.h"
|
||||
|
||||
class Package;
|
||||
|
||||
class Method {
|
||||
private:
|
||||
Package* pkg;
|
||||
double money;
|
||||
bool danger;
|
||||
public:
|
||||
Method();
|
||||
Method(Package* x, double m, bool b);
|
||||
void fee();
|
||||
void set_yndanger(bool flag);
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user