ManaPlus
Public Member Functions | Data Fields
Position Struct Reference

#include <position.h>

Public Member Functions

 Position (const int x0, const int y0)
 

Data Fields

int x
 
int y
 

Detailed Description

A position along a being's path.

Definition at line 35 of file position.h.

Constructor & Destructor Documentation

◆ Position()

Position::Position ( const int  x0,
const int  y0 
)
inline

Definition at line 37 of file position.h.

38  :
39  x(x0),
40  y(y0)
41  { }
int y
Definition: position.h:46
int x
Definition: position.h:45

Field Documentation

◆ x

int Position::x

◆ y

int Position::y

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