Peoplemon  0.1.0
Peoplemon 3 game source documentation
Public Member Functions | Public Attributes | List of all members
core::event::PathFindCompleted Struct Reference

Event that is fired when an entity path find is completed. More...

#include <PathFind.hpp>

Public Member Functions

 PathFindCompleted (bl::ecs::Entity entity, bool success)
 Construct a new Path Find Completed event. More...
 

Public Attributes

const bl::ecs::Entity entity
 
bool success
 

Detailed Description

Event that is fired when an entity path find is completed.

Definition at line 16 of file PathFind.hpp.

Constructor & Destructor Documentation

◆ PathFindCompleted()

core::event::PathFindCompleted::PathFindCompleted ( bl::ecs::Entity  entity,
bool  success 
)
inline

Construct a new Path Find Completed event.

Parameters
entityThe entity that finished
successTrue if the destination was reached, false otherwise

Definition at line 23 of file PathFind.hpp.

Member Data Documentation

◆ entity

const bl::ecs::Entity core::event::PathFindCompleted::entity

Definition at line 27 of file PathFind.hpp.

◆ success

bool core::event::PathFindCompleted::success

Definition at line 28 of file PathFind.hpp.


The documentation for this struct was generated from the following file: