Plasma Engine  2.0
Loading...
Searching...
No Matches
NavMeshObstacleComponent.h
1#pragma once
2
3#include <AiPlugin/AiPluginDLL.h>
4#include <Core/World/Component.h>
5#include <Core/World/ComponentManager.h>
6
8
19class PL_AIPLUGIN_DLL plNavMeshObstacleComponent : public plComponent
20{
22
23public:
26
27protected:
28 virtual void OnActivated() override;
29 virtual void OnSimulationStarted() override;
30 virtual void OnDeactivated() override;
31
32public:
33 void InvalidateSectors();
34};
Base class of all component types.
Definition Component.h:25
virtual void OnDeactivated()
This method is called when the component gets deactivated.
Definition Component.cpp:142
virtual void OnSimulationStarted()
This method is called once for active components, at the start of the next world update,...
Definition Component.cpp:144
virtual void OnActivated()
This method is called when the component gets activated.
Definition Component.cpp:140
Definition ComponentManager.h:88
Represents a dynamic obstacle on a navmesh.
Definition NavMeshObstacleComponent.h:20