1 | if (col < 0) |
2 | { |
3 | x -= random(2); |
4 | other.x += random(2); |
5 | y -= random(2); |
6 | other.y += random(2); |
7 | hspeed = -hspeed; |
8 | other.hspeed = -other.hspeed; |
9 | vspeed = -vspeed; |
10 | other.vspeed = -other.vspeed; |
11 | col = 3; |
12 | other.col = 3; |
13 | } |