-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAnt_Bodyguard.cpp
39 lines (35 loc) · 1.05 KB
/
Ant_Bodyguard.cpp
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
/*********************************************************************
** Program Filename: Ant_Bodyguard.cpp
** Author: Aeijan Bajracharya
** Date: 5/30/18
** Description: Bodyguard class
** Input: N/A
** Output: N/A
*********************************************************************/
#include <iostream>
#include "Insect_GP.h"
#include "Ant_P.h"
#include "Ant_Bodyguard.h"
using namespace std;
/*********************************************************************
** Function: Bodyguard()
** Description: Constructor
** Parameters: N/A
** Pre-Conditions: Constructs the Bodyguard
** Post-Conditions:
*********************************************************************/
Bodyguard::Bodyguard(){
food_cost = 4;
armor = 2;
name = "BG";
}
/*********************************************************************
** Function: attack_enemy()
** Description: N/A
** Parameters: N/A
** Pre-Conditions: N/A
** Post-Conditions: N/A
*********************************************************************/
void Bodyguard::attack_enemy(){
// Doesn't use
}