-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAnt_Thrower.cpp
40 lines (36 loc) · 1.15 KB
/
Ant_Thrower.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
40
/*********************************************************************
** Program Filename: Ant_Thrower.cpp
** Author: Aeijan Bajracharya
** Date: 5/30/18
** Description: Thrower class
** Input: N/A
** Output: N/A
*********************************************************************/
#include <iostream>
#include "Ant_P.h"
#include "Ant_Thrower.h"
using namespace std;
/*********************************************************************
** Function: Thrower()
** Description: Constructor
** Parameters: N/A
** Pre-Conditions: Constructs the Thrower
** Post-Conditions:
*********************************************************************/
Thrower::Thrower(){
food_cost = 4;
armor = 1;
name = "TH";
}
/*********************************************************************
** Function: attack_enemy()
** Description: N/A
** Parameters: N/A
** Pre-Conditions: N/A
** Post-Conditions: N/A
*********************************************************************/
void Thrower::attack_enemy(/*game * board,*Bee**bees, int * num_bees */){
// if(board[i].bees != NULL){
// board[i].bees->set_armor(board[i].bees->get_armor() - 1 );
// }
}