pooltool.constants

Constants

Notes

  • Developer note: This should really be dissolved into config and motion state sections of code

Overview

Attributes

pooltool.constants.stationary: int = '0'

The stationary motion state label

A ball with this motion state is both motionless and not in a pocket.

pooltool.constants.spinning: int = '1'

The spinning motion state label

A ball with this motion state is spinning in place.

pooltool.constants.sliding: int = '2'

The sliding motion state label

A ball with this motion state is sliding. For details on what this means precisely, see this blog.

pooltool.constants.rolling: int = '3'

The rolling motion state label

A ball with this motion state is rolling. For details on what this means precisely, see this blog.

pooltool.constants.pocketed: int = '4'

The pocketed motion state label

A ball with this motion state is in a pocket.