mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-16 05:37:00 +00:00
1
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose:
|
||||
//
|
||||
// $NoKeywords: $
|
||||
//=============================================================================//
|
||||
|
||||
#ifndef TRIGGER_PASSTIME_BALL_H
|
||||
#define TRIGGER_PASSTIME_BALL_H
|
||||
#ifdef _WIN32
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
#include "baseentity.h"
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
class CTriggerPasstimeBall : public CBaseEntity
|
||||
{
|
||||
public:
|
||||
DECLARE_CLASS( CTriggerPasstimeBall, CBaseEntity );
|
||||
DECLARE_DATADESC();
|
||||
virtual void Spawn() OVERRIDE;
|
||||
|
||||
private:
|
||||
void Update();
|
||||
bool BTouching( CBaseEntity *pEnt );
|
||||
|
||||
bool m_bPresent;
|
||||
COutputEvent m_onBallEnter;
|
||||
COutputEvent m_onBallExit;
|
||||
};
|
||||
|
||||
#endif // TRIGGER_PASSTIME_BALL_H
|
||||
Reference in New Issue
Block a user