forked from teamnwah/openmw-tes3coop
Added comment.
This commit is contained in:
parent
730abf6841
commit
db1b93498d
1 changed files with 8 additions and 2 deletions
|
@ -112,13 +112,19 @@ public:
|
||||||
|
|
||||||
namespace MWMechanics
|
namespace MWMechanics
|
||||||
{
|
{
|
||||||
/// \brief base class for the temporary storage of AiPackages
|
/// \brief base class for the temporary storage of AiPackages.
|
||||||
|
/**
|
||||||
|
* Each AI package with temporary values needs a AiPackageStorage class
|
||||||
|
* which is derived from AiTemporaryBase. The CharacterController holds a container
|
||||||
|
* AiState where one of these storages can be stored at a time.
|
||||||
|
* The execute(...) member function takes this container as an argument.
|
||||||
|
* */
|
||||||
struct AiTemporaryBase
|
struct AiTemporaryBase
|
||||||
{
|
{
|
||||||
virtual ~AiTemporaryBase(){};
|
virtual ~AiTemporaryBase(){};
|
||||||
};
|
};
|
||||||
|
|
||||||
/// \brief Container for AI package status
|
/// \brief Container for AI package status.
|
||||||
typedef DerivedClassStorage<AiTemporaryBase> AiState;
|
typedef DerivedClassStorage<AiTemporaryBase> AiState;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue