Capycore Engine  0.1.0
A simple and lightweight game engine written in C++ based on the Unity API architecture.
Loading...
Searching...
No Matches
GraphPosition Struct Reference

Structure representing a position in the navigation graph. More...

#include <graph.h>

Public Member Functions

bool operator== (const GraphPosition &other) const noexcept
 

Public Attributes

int x
 
int y
 

Detailed Description

Structure representing a position in the navigation graph.

Parameters
xThe x-coordinate of the graph position.
yThe y-coordinate of the graph position.
Returns
bool operator== Compares two GraphPosition instances for equality.

Member Function Documentation

◆ operator==()

bool GraphPosition::operator== ( const GraphPosition other) const
inlinenoexcept

Member Data Documentation

◆ x

int GraphPosition::x

◆ y

int GraphPosition::y

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