add slots to CVisibaleObject and make HP bar work