-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBoat.cpp
33 lines (29 loc) · 1.89 KB
/
Boat.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
/*******************************************************************************
* Filename: Boat.cpp *
* Author: Daniel Wilson *
* E-Mail: [email protected] *
* Date: 10 June 2017 *
* *
* Description: Provides the implementation of a Location derived class named *
* Boat. The boat is the location that contains the gasoline needed to escape*
* the woods. *
* *
*******************************************************************************/
#include "Location.hpp"
/*******************************************************************************
* Function: Boat::Boat *
* *
* Description: Initializes the Boat to contain a proper description. *
* *
* Inputs: void *
* *
* Outputs: void *
*******************************************************************************/
Boat::Boat()
{
description = "It's an old one motor fishing boat. Why is it here in the ";
description += "middle of the lake? The wood smells like it's rotten, but ";
description += "the engine looks in decent shape.";
item = Item::GAS;
locationType = LocationType::BOAT;
}