Base class of the ball, paddle and brick classes.