AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface

◆ GetTask()

virtual std::shared_ptr< Task > drama::Spawnable::GetTask ( ) const
inlinevirtual

Returns a pointer to the task.

If we are not in an action or action end handler, then returns nullptr.

Returns
pointer to the task object.