thug/Code/Sk/Modules/Skate/NetGoal.h
2016-02-14 08:39:12 +11:00

34 lines
540 B
C++

#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