Files
Text-Adventure/Engine/src/scenery.cpp
T

30 lines
357 B
C++
Raw Normal View History

2026-08-07 13:10:07 -05:00
#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();
}