building sprite class