Intergrated Functions to Class Sprite