BVB Source Codes

CRYENGINE Show FlowVehicleHandbrake.h Source code

Return Download CRYENGINE: download FlowVehicleHandbrake.h Source code - Download CRYENGINE Source code - Type:.h
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. /*************************************************************************
  4.    -------------------------------------------------------------------------
  5.    $Id$
  6.    $DateTime$
  7.    Description: Implements a flow node to enable/disable vehicle handbrake.
  8.  
  9.    -------------------------------------------------------------------------
  10.    History:
  11.    - 15:04:2010: Created by Paul Slinger
  12.  
  13. *************************************************************************/
  14.  
  15. #ifndef __FLOW_VEHICLE_HANDBRAKE_H__
  16. #define __FLOW_VEHICLE_HANDBRAKE_H__
  17.  
  18. #include "FlowVehicleBase.h"
  19.  
  20. class CFlowVehicleHandbrake : public CFlowVehicleBase
  21. {
  22. public:
  23.  
  24.         CFlowVehicleHandbrake(SActivationInfo* pActivationInfo);
  25.  
  26.         virtual ~CFlowVehicleHandbrake();
  27.  
  28.         // CFlowBaseNode
  29.  
  30.         virtual IFlowNodePtr Clone(SActivationInfo* pActivationInfo);
  31.  
  32.         virtual void         GetConfiguration(SFlowNodeConfig& nodeConfig);
  33.  
  34.         virtual void         ProcessEvent(EFlowEvent flowEvent, SActivationInfo* pActivationInfo);
  35.  
  36.         // ~CFlowBaseNode
  37.  
  38.         // IVehicleEventListener
  39.  
  40.         virtual void OnVehicleEvent(EVehicleEvent event, const SVehicleEventParams& params);
  41.  
  42.         // ~IVehicleEventListener
  43.  
  44.         virtual void GetMemoryUsage(ICrySizer* pCrySizer) const;
  45.  
  46. protected:
  47.  
  48.         enum EInputs
  49.         {
  50.                 eIn_Activate = 0,
  51.                 eIn_Deactivate,
  52.                 eIn_ResetTimer
  53.         };
  54. };
  55.  
  56. #endif //__FLOW_VEHICLE_HANDBRAKE_H__
  57.  
downloadFlowVehicleHandbrake.h Source code - Download CRYENGINE Source code
Related Source Codes/Software:
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top