Public Member Functions | Public Attributes | List of all members
ime::Index Struct Reference

Represents a position Grid2D Tile. More...

#include <Index.h>

Public Member Functions

 Index ()
 Default constructor. More...
 
 Index (int row, int colm)
 Constructor. More...
 

Public Attributes

int row
 Y coordinate of the tile. More...
 
int colm
 X coordinate of the tile. More...
 

Detailed Description

Represents a position Grid2D Tile.

Definition at line 35 of file Index.h.

Constructor & Destructor Documentation

◆ Index() [1/2]

ime::Index::Index ( )

Default constructor.

Constructs Index with row = 0, and colm = 0

◆ Index() [2/2]

ime::Index::Index ( int  row,
int  colm 
)

Constructor.

Parameters
rowY coordinate of the tile
colmX coordinate of the tile

Member Data Documentation

◆ colm

int ime::Index::colm

X coordinate of the tile.

Definition at line 51 of file Index.h.

◆ row

int ime::Index::row

Y coordinate of the tile.

Definition at line 50 of file Index.h.


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