Adding hit() to GameObject