Define hit wall methods ball class