Skip to content

Paddle

src.components.paddle

View source code

Paddle entity rendered as a rectangle.

Paddle

Bases: Rectangle

Player/CPU paddle (inherits basic rectangle behavior and rendering).

__init__(left, top, width, height)

update_variables() -> None

Compatibility hook; paddle position is already stored at its center.