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