-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathRunApp.h
39 lines (33 loc) · 1.01 KB
/
RunApp.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// RunApp.h: interface for the CRunApp class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_RUNAPP_H__BE98F325_7CB1_4BFF_8EAE_2E07C9E0E242__INCLUDED_)
#define AFX_RUNAPP_H__BE98F325_7CB1_4BFF_8EAE_2E07C9E0E242__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "FoodMenu.h"
#include "Board.h"
#include "Waiter.h"
#include "Boss.h"
#include "Draw.h" // Added by ClassView
class CRunApp
{
public:
CRunApp();
virtual ~CRunApp();
void Run();
bool Order(CBoard * pBoard);
bool Administrate();
void PrintBoardInfo(CBoard *pBoard,const RECT & INFO_AREA);
CBoard * GetPBoard(const unsigned short & unNumber);
CWaiter * GetPWaiter(const unsigned short & unNumber);
CFoodMenu * GetPFood(const unsigned short & unNumber);
private:
CDraw theDraw;
CWaiter * m_pWaiter;
CBoard * m_pBoard;
CFoodMenu * m_pFoodMenu;
CBoss * m_pBoss;
};
#endif // !defined(AFX_RUNAPP_H__BE98F325_7CB1_4BFF_8EAE_2E07C9E0E242__INCLUDED_)