Fix net collision, referee and ball restitution
commitffd239185f426548a86ba5b0be7603c8a1987ce2
authorThomas Perl <thp@perli.net>
Sat, 7 Feb 2009 13:32:05 +0000 (7 14:32 +0100)
committerThomas Perl <thp@perli.net>
Sat, 7 Feb 2009 13:32:05 +0000 (7 14:32 +0100)
tree016009bd08659fd06e766f333b6dc58f03213260
parent38de427d4cfbd63463a6cd41a3df53c9aa698402
Fix net collision, referee and ball restitution

Move the restitution variable to the "Ball" struct,
so we can later create different types of balls.

Move the ball outside the net in case of a collision.

Add referee movements for the new scoring system.
TODO
game.c
game.h