implemented draw method of Texture