BVB Source Codes

CRYENGINE Show MovementBlock_UninstallAgentFromCover.h Source code

Return Download CRYENGINE: download MovementBlock_UninstallAgentFromCover.h Source code - Download CRYENGINE Source code - Type:.h
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. #pragma once
  4.  
  5. #ifndef MovementBlock_UninstallAgentFromCover_h
  6.         #define MovementBlock_UninstallAgentFromCover_h
  7.  
  8.         #include "MovementPlan.h"
  9.  
  10. namespace Movement
  11. {
  12. namespace MovementBlocks
  13. {
  14. class UninstallAgentFromCover : public Movement::Block
  15. {
  16. public:
  17.         UninstallAgentFromCover(const MovementStyle::Stance stance)
  18.                 : m_stance(stance)
  19.         {
  20.         }
  21.  
  22.         virtual void Begin(IMovementActor& actor)
  23.         {
  24.                 actor.GetAdapter().SetInCover(false);
  25.                 actor.GetAdapter().SetStance(m_stance);
  26.         }
  27.  
  28.         virtual const char* GetName() const { return "UninstallFromCover"; }
  29. private:
  30.         MovementStyle::Stance m_stance;
  31. };
  32. }
  33. }
  34.  
  35. #endif // MovementBlock_UninstallAgentFromCover_h
  36.  
downloadMovementBlock_UninstallAgentFromCover.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