thug/Code/Sk/Modules/Skate/NetGoal.h

34 lines
540 B
C
Raw Permalink Normal View History

2016-02-13 21:39:12 +00:00
#ifndef __SK_MODULES_SKATE_NETGOAL_H__
#define __SK_MODULES_SKATE_NETGOAL_H__
#ifndef __CORE_DEFINES_H
#include <core/defines.h>
#endif
#include <sk/modules/skate/GoalManager.h>
namespace Game
{
class CNetGoal : public CGoal
{
public:
CNetGoal( Script::CStruct* pParams );
virtual ~CNetGoal();
bool Update();
bool Deactivate( bool force = false, bool affect_tree = true );
bool Activate();
bool IsExpired();
void Expire();
protected:
bool m_initialized;
};
}
#endif