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

Fired when an entity completes a move from one tile to another. More...

#include <EntityMoved.hpp>

Public Member Functions

 EntityMoveFinished (bl::ecs::Entity entity, const bl::tmap::Position &position)
 Construct a new Entity Move Finished event. More...
 

Public Attributes

const bl::ecs::Entity entity
 The entity that moved. More...
 
const bl::tmap::Position & position
 The current position of the entity. More...
 

Detailed Description

Fired when an entity completes a move from one tile to another.

Definition at line 52 of file EntityMoved.hpp.

Constructor & Destructor Documentation

◆ EntityMoveFinished()

core::event::EntityMoveFinished::EntityMoveFinished ( bl::ecs::Entity  entity,
const bl::tmap::Position &  position 
)
inline

Construct a new Entity Move Finished event.

Parameters
entityThe entity that completed moving
positionThe position the entity is at

Definition at line 65 of file EntityMoved.hpp.

Member Data Documentation

◆ entity

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

The entity that moved.

Definition at line 54 of file EntityMoved.hpp.

◆ position

const bl::tmap::Position& core::event::EntityMoveFinished::position

The current position of the entity.

Definition at line 57 of file EntityMoved.hpp.


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