Commit 3a3a468
authored
Added a remove_pipes function and call it in main loop
Added a remove_pipes function which will remove the pipes from the pipe_list when the pipe goes out of the screen
This will help to render objects accordingly as only few pipes have to be rendered all the time.1 parent fd734e7 commit 3a3a468
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
26 | 30 | | |
27 | 31 | | |
28 | 32 | | |
| |||
152 | 156 | | |
153 | 157 | | |
154 | 158 | | |
| 159 | + | |
155 | 160 | | |
156 | 161 | | |
157 | 162 | | |
| |||
0 commit comments