XtreemNodes/include/Nodes.h
2023-09-23 21:19:52 +00:00

18 lines
297 B
C++

class Node
{
public:
Node(int i, int j)
{
id = i;
textureIndex = j;
}
int getTextureIndexFromSide(int side)
{
return textureIndex;
}
private:
int id;
int textureIndex;
};