gdle/Source/Chest.cpp
2018-07-12 14:41:21 -07:00

31 lines
473 B
C++

#include "StdAfx.h"
#include "Chest.h"
#include "World.h"
CChestWeenie::CChestWeenie()
{
}
CChestWeenie::~CChestWeenie()
{
}
void CChestWeenie::PostSpawn()
{
CContainerWeenie::PostSpawn();
}
void CChestWeenie::OnContainerOpened(CWeenieObject *other)
{
CContainerWeenie::OnContainerOpened(other);
DoForcedMotion(Motion_On);
}
void CChestWeenie::OnContainerClosed(CWeenieObject *other)
{
CContainerWeenie::OnContainerClosed(other);
DoForcedMotion(Motion_Off);
}