Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
aegis2d::ecs::PathEnded Struct Reference

An entity that reached the last waypoint of its path. More...

#include <aegis2d/ecs/path_following.hpp>

Public Attributes

Entity entity
 Entity that arrived.
 
Vec2 position {}
 Last waypoint of its path.
 

Friends

bool operator== (const PathEnded &, const PathEnded &)=default
 Compares the events.
 

Detailed Description

An entity that reached the last waypoint of its path.

Friends And Related Symbol Documentation

◆ operator==

bool operator== ( const PathEnded &  ,
const PathEnded &   
)
friend

Compares the events.

Member Data Documentation

◆ entity

Entity aegis2d::ecs::PathEnded::entity

Entity that arrived.

◆ position

Vec2 aegis2d::ecs::PathEnded::position {}

Last waypoint of its path.


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