| 1 | class Level{ |
| 2 | constructor() { |
| 3 | this.levelImage = null; |
| 4 | this.lines = []; |
| 5 | this.levelNo =0; |
| 6 | this.isBlizzardLevel = false; |
| 7 | this.isIceLevel = false; |
| 8 | this.coins = []; |
| 9 | this.hasProgressionCoins = false; |
| 10 | } |
| 11 | |
| 12 | show(){ |
| 13 | push(); |
| 14 | image(this.levelImage,0,0) |
| 15 | if(showingLines){ |
| 16 | for(let l of lines){ |
| 17 | l.Show(); |
| 18 | } |
| 19 | } |
| 20 | if(showingCoins){ |
| 21 | for(let c of this.coins){ |
| 22 | c.show(); |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | pop(); |
| 27 | } |
| 28 | |
| 29 | |
| 30 | } |
nothing calls this directly
no outgoing calls
no test coverage detected