Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
810 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef FUNC_PASSTIME_GOALIE_ZONE_H
  8. #define FUNC_PASSTIME_GOALIE_ZONE_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "triggers.h"
  13. DECLARE_AUTO_LIST( IFuncPasstimeGoalieZoneAutoList );
  14. class CTFPlayer;
  15. class CFuncPasstimeGoalieZone : public CBaseTrigger, public IFuncPasstimeGoalieZoneAutoList
  16. {
  17. public:
  18. DECLARE_CLASS( CFuncPasstimeGoalieZone, CBaseTrigger );
  19. DECLARE_DATADESC();
  20. virtual void Spawn() OVERRIDE;
  21. static bool BPlayerInAny( CTFPlayer *pPlayer );
  22. static bool BPlayerInFriendly( CTFPlayer *pPlayer );
  23. static bool BPlayerInEnemy( CTFPlayer *pPlayer );
  24. };
  25. #endif // FUNC_PASSTIME_GOALIE_ZONE_H