Deleting CGameObjects

deleting gameobjects that are not visible (out of screen) or being right
clicked