BVB Source Codes

CRYENGINE Show VehiclePartEntityDelayedDetach.h Source code

Return Download CRYENGINE: download VehiclePartEntityDelayedDetach.h Source code - Download CRYENGINE Source code - Type:.h
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. /*************************************************************************
  4.    -------------------------------------------------------------------------
  5.  
  6.    Description: Subclass of VehiclePartEntity that can be asked to detach at a random point in the future
  7.  
  8.    -------------------------------------------------------------------------
  9.    History:
  10.    - 14:02:2012:        Created by Andrew Blackwell
  11.  
  12. *************************************************************************/
  13.  
  14. #ifndef __VEHICLEPARTENTITYDELAYEDDETACH_H__
  15. #define __VEHICLEPARTENTITYDELAYEDDETACH_H__
  16.  
  17. //Base Class include
  18. #include "VehiclePartEntity.h"
  19.  
  20. class CVehiclePartEntityDelayedDetach : public CVehiclePartEntity
  21. {
  22. public:
  23.         IMPLEMENT_VEHICLEOBJECT
  24.  
  25.         CVehiclePartEntityDelayedDetach();
  26.         virtual ~CVehiclePartEntityDelayedDetach();
  27.  
  28.         virtual void Update(const float frameTime) override;
  29.         virtual void OnVehicleEvent(EVehicleEvent event, const SVehicleEventParams& params) override;
  30.  
  31. private:
  32.         float m_detachTimer;
  33. };
  34.  
  35. #endif //__VEHICLEPARTENTITYDELAYEDDETACH_H__
  36.  
downloadVehiclePartEntityDelayedDetach.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