18 lines
297 B
C
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;
|
||
|
};
|