Essentia  2.1-beta6-dev
Position Class Reference

#include <asciidag.h>

Public Member Functions

 Position (int x_, int y_)
Position operator+ (const Position &other) const
bool operator== (const Position &other) const

Public Attributes

int x
int y

Detailed Description

Represents a position in an integer 2D plane.

Constructor & Destructor Documentation

◆ Position()

Position ( int  x_,
int  y_ 

Referenced by Position::operator+().

Member Function Documentation

◆ operator+()

Position operator+ ( const Position other) const

◆ operator==()

bool operator== ( const Position other) const

References Position::x, and Position::y.

Member Data Documentation

◆ x

◆ y

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