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

Column and row of a grid cell, from the top-left one. More...

#include <aegis2d/ecs/pathfinding.hpp>

Public Attributes

int x = 0
 Column, from 0 on the left.
 
int y = 0
 Row, from 0 at the top.
 

Friends

constexpr bool operator== (Cell, Cell) noexcept=default
 Compares the cells.
 

Detailed Description

Column and row of a grid cell, from the top-left one.

Friends And Related Symbol Documentation

◆ operator==

constexpr bool operator== ( Cell  ,
Cell   
)
friend

Compares the cells.

Member Data Documentation

◆ x

int aegis2d::ecs::Cell::x = 0

Column, from 0 on the left.

◆ y

int aegis2d::ecs::Cell::y = 0

Row, from 0 at the top.


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