Inital Commit
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
#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();
|
||||
}
|
||||
Reference in New Issue
Block a user