Atoms Crowd  4.1.0
StepSequencer.h
1 #pragma once
2 // ===========================================================================
3 // Copyright (c) 2015 Toolchefs Ltd. All rights reserved.
4 //
5 // Use of this software is subject to the terms of the Toolchefs license
6 // agreement provided at the time of installation or download, or which
7 // otherwise accompanies this software in either electronic or hard copy form.
8 // ===========================================================================
9 
10 #include <Atoms/BehaviourTree/Composite.h>
11 
12 namespace Atoms
13 {
14  class ATOMS_EXPORT StepSequencer : public Composite
15  {
16  public:
17  StepSequencer();
18 
19  virtual ~StepSequencer();
20 
21  virtual const char* typeName() const override;
22 
23  virtual void initialize(BehaviourTreeContext* context, State* data) override;
24 
25  virtual void onChildUpdated(BehaviourTreeContext* context, State* data, unsigned int childIndex, unsigned short childStatus) override;
26 
27  virtual void getAttributeProperties(AtomsCore::MapMetadata* attributes) override;
28 
29  static Behaviour* creator();
30  };
31 }
Atoms::Composite
Definition: Composite.h:18
Atoms::Behaviour::State
Definition: Behaviour.h:34
Atoms
Atoms namespace.
Definition: Agent.h:28
AtomsCore::MapMetadata
MapMetadata class.
Definition: MapMetadata.h:24
Atoms::StepSequencer
Definition: StepSequencer.h:15
Atoms::Behaviour
Definition: Behaviour.h:21
Atoms::BehaviourTreeContext
Definition: BehaviourTreeContext.h:24