gdle/Source/Chest.cpp
2019-07-07 20:56:15 +00: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);
}