Added abstract HitObject class