Skyward boardcore
Loading...
Searching...
No Matches
Boardcore::Position Struct Reference

#include <View.h>

Public Member Functions

 operator mxgui::Point ()
 
Position operator+ (const Position &other)
 
Position operator- (const Position &other)
 
void operator+= (const Position &other)
 
void operator-= (const Position &other)
 
void print ()
 

Public Attributes

short int x
 
short int y
 

Detailed Description

Definition at line 42 of file View.h.

Member Function Documentation

◆ operator mxgui::Point()

Boardcore::Position::operator mxgui::Point ( )
inline

Definition at line 47 of file View.h.

◆ operator+()

Position Boardcore::Position::operator+ ( const Position & other)
inline

Definition at line 49 of file View.h.

◆ operator+=()

void Boardcore::Position::operator+= ( const Position & other)
inline

Definition at line 59 of file View.h.

◆ operator-()

Position Boardcore::Position::operator- ( const Position & other)
inline

Definition at line 54 of file View.h.

◆ operator-=()

void Boardcore::Position::operator-= ( const Position & other)
inline

Definition at line 65 of file View.h.

◆ print()

void Boardcore::Position::print ( )
inline

Definition at line 71 of file View.h.

Member Data Documentation

◆ x

short int Boardcore::Position::x

Definition at line 44 of file View.h.

◆ y

short int Boardcore::Position::y

Definition at line 45 of file View.h.


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