XtreemNodes/include/Nodes.h

18 lines
297 B
C
Raw Normal View History

2023-09-23 23:19:52 +02:00
class Node
{
public:
Node(int i, int j)
{
id = i;
textureIndex = j;
}
int getTextureIndexFromSide(int side)
{
return textureIndex;
}
private:
int id;
int textureIndex;
};