1 #ifndef GAME_MWMECHANICS_AIAVOIDDOOR_H
2 #define GAME_MWMECHANICS_AIAVOIDDOOR_H
10 #include "../mwworld/class.hpp"
virtual bool execute(const MWWorld::Ptr &actor, CharacterController &characterController, AiState &state, float duration)
Definition: aiavoiddoor.cpp:20
virtual unsigned int getPriority() const
Higher number is higher priority (0 being the lowest)
Definition: aiavoiddoor.cpp:88
AiPackage to have an actor avoid an opening door.
Definition: aiavoiddoor.hpp:19
AiAvoidDoor(const MWWorld::ConstPtr &doorPtr)
Avoid door until the door is fully open.
Definition: aiavoiddoor.cpp:14
Base class for AI packages.
Definition: aipackage.hpp:32
virtual AiAvoidDoor * clone() const
Clones the package.
Definition: aiavoiddoor.cpp:78
Definition: character.hpp:145
MWWorld::ConstPtr mDoorPtr
Definition: aiavoiddoor.hpp:38
float mAdjAngle
Definition: aiavoiddoor.hpp:40
Pointer to a const LiveCellRef.
Definition: ptr.hpp:90
float mDuration
Definition: aiavoiddoor.hpp:37
virtual bool canCancel() const
Can this Ai package be canceled? (default true)
Definition: aiavoiddoor.hpp:33
Pointer to a LiveCellRef.
Definition: ptr.hpp:19
ESM::Position mLastPos
Definition: aiavoiddoor.hpp:39
virtual int getTypeId() const
Definition: aiavoiddoor.cpp:83
virtual bool shouldCancelPreviousAi() const
Upon adding this Ai package, should the Ai Sequence attempt to cancel previous Ai packages (default t...
Definition: aiavoiddoor.hpp:34