Added constructor to set id and textureid values.