Module: Rong::Elements::WindowConstants

Included in:
Game
Defined in:
lib/rong/elements/window_constants.rb

Constant Summary collapse

WINDOW_WIDTH =
640
WINDOW_HEIGHT =
480
WINDOW_CENTER_X =
WINDOW_WIDTH  / 2
WINDOW_CENTER_Y =
WINDOW_HEIGHT / 2
LEFT_PADDLE_X =
100
RIGHT_PADDLE_X =
540
PADDLE_Y =
240
SERVE_FROM_X =
WINDOW_CENTER_X
SERVE_FROM_Y =
WINDOW_CENTER_Y - 210