AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
IdleMovementFactory Struct Reference

#include "MovementGenerator.h"

Inheritance diagram for IdleMovementFactory:
FactoryHolder< T, O, Key >

Public Member Functions

 IdleMovementFactory ()
 
MovementGeneratorCreate (Unit *object) const override
 
- Public Member Functions inherited from FactoryHolder< T, O, Key >
 FactoryHolder (Key const &k)
 
virtual ~FactoryHolder ()
 
void RegisterSelf ()
 
virtual T * Create (O *object=nullptr) const =0
 Abstract Factory create method. More...
 

Additional Inherited Members

- Public Types inherited from FactoryHolder< T, O, Key >
typedef ObjectRegistry< FactoryHolder< T, O, Key >, Key > FactoryHolderRegistry
 

Detailed Description

Constructor & Destructor Documentation

◆ IdleMovementFactory()

IdleMovementFactory::IdleMovementFactory ( )
inline
FactoryHolder< MovementGenerator, Unit, MovementGeneratorType > MovementGeneratorCreator
Definition: MovementGenerator.h:83
@ IDLE_MOTION_TYPE
Definition: MotionMaster.h:37

Member Function Documentation

◆ Create()

MovementGenerator * IdleMovementFactory::Create ( Unit object) const
override
26{
27 static IdleMovementGenerator instance;
28 return &instance;
29}
Definition: IdleMovementGenerator.h:24