-
Notifications
You must be signed in to change notification settings - Fork 1
/
bjRuleController.h
48 lines (28 loc) · 807 Bytes
/
bjRuleController.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
40
41
42
43
44
45
46
47
48
//Topic 14: Object Orientation: Interface vs. Implementation *
#ifndef CCPP_EXAM_BJRULECONTROLLER_H
#define CCPP_EXAM_BJRULECONTROLLER_H
#include <iostream>
#include "enums.h"
class bjRuleController {
private:
int dealerMaxPoints;
int reshuffelTrigger;
int numberOfDecks;
int initChips;
int minBet;
int maxBet;
static void playerWin();
static void playerLoose();
static void playerTie();
public:
bjRuleController();
static void printRules();
int getDealerMaxPoints() const;
int getReshuffelTrigger() const;
int getNumberOfDecks() const;
int getInitChips() const;
int getMinBet() const;
int getMaxBet() const;
static playerStatus winLossTieControll(int pValue, int dValue);
};
#endif //CCPP_EXAM_BJRULECONTROLLER_H