addVisible method
Implementation
void addVisible(GameComponent obj) {
_visibleComponents.add(obj);
if (obj.containsShapeHitbox) {
_visibleCollisions.addAll(obj.children.query<ShapeHitbox>());
}
}
void addVisible(GameComponent obj) {
_visibleComponents.add(obj);
if (obj.containsShapeHitbox) {
_visibleCollisions.addAll(obj.children.query<ShapeHitbox>());
}
}