diff options
| author | Edvard Thörnros <edvard.thornros@gmail.com> | 2021-01-31 10:17:30 +0100 |
|---|---|---|
| committer | Edvard Thörnros <edvard.thornros@gmail.com> | 2021-01-31 10:28:21 +0100 |
| commit | 62ed092e7cdb70cb97d36736605428457f948fae (patch) | |
| tree | c12f84f469634e40823f7b8cbdba0d4c97baeb4e | |
| parent | 4aa801b6b17e1c34c05d94850b9450c05f6c60d1 (diff) | |
| download | sylt-62ed092e7cdb70cb97d36736605428457f948fae.tar.gz | |
remove unused
| -rw-r--r-- | pong/pong.tdy | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/pong/pong.tdy b/pong/pong.tdy index fc54e36..d79175d 100644 --- a/pong/pong.tdy +++ b/pong/pong.tdy @@ -108,7 +108,6 @@ update := fn state: State { state.ball.vy = -abs(state.ball.vy) } - ball_and_paddle_check(state.p1.paddle, state.ball) ball_and_paddle_check(state.p2.paddle, state.ball) } @@ -123,8 +122,6 @@ draw := fn state: State { } init := fn { - running := true - state := State() state.ball = Ball() state.ball.x = 10.0 |
