mirror of
https://gitlab.com/Scribble/gdlenhanced.git
synced 2026-08-17 14:23:04 -04:00
31 lines
473 B
C++
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);
|
|
}
|