30 lines
357 B
C++
30 lines
357 B
C++
#include "scenery.h"
|
|
|
|
Scenery::Scenery()
|
|
{
|
|
type = ObjectType::SCENERY;
|
|
name = "Scenery";
|
|
containsItem = false;
|
|
}
|
|
|
|
void Scenery::Interact()
|
|
{
|
|
if (containsItem)
|
|
{
|
|
// Give Item
|
|
}
|
|
Examine();
|
|
}
|
|
|
|
void Scenery::Examine()
|
|
{
|
|
printf("%s\n", GetDescription());
|
|
}
|
|
|
|
Scenery::~Scenery()
|
|
{
|
|
type = ObjectType::NONE;
|
|
name = "";
|
|
keywords.clear();
|
|
}
|