struct CrystalPong::MainState
- CrystalPong::MainState
- Struct
- Value
- Object
Defined in:
crystal_pong.crConstructors
Instance Method Summary
- #ball_pos : Tuple(Int32, Int32)
- #ball_vel : SF::Vector2(Float64)
- #ball_vel=(ball_vel : SF::Vector2(Float64))
- #player_1_score : Int32
- #player_1_score=(player_1_score : Int32)
- #player_2_score : Int32
- #player_2_score=(player_2_score : Int32)
- #randomize_vec(vec : SF::Vector2(Float64), x : Float64, y : Float64)
- #reset_ball(ball)