MCPcopy Create free account
hub / github.com/candybox2/candybox2.github.io / addSmokes

Method addSmokes

code/main/CastleRoom2.ts:77–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75 }
76
77 private addSmokes(): void{
78 this.smokes.push(new Smoke(45, Random.between(20, 21), 11, Random.between(3, 7), 0, 5));
79 this.smokes.push(new Smoke(45, Random.between(20, 21), 11, Random.between(2, 6), 0, 5));
80 this.smokes.push(new Smoke(45, Random.between(20, 21), 11, Random.between(2, 6), 0, 5));
81 this.smokes.push(new Smoke(45, Random.between(20, 21), 11, Random.between(2, 6), 0, 5));
82 this.smokes.push(new Smoke(45, Random.between(20, 21), 11, Random.between(2, 6), 0, 5));
83 }
84
85 private drawDark(x: number, y: number, width: number, height: number): void{
86 for(var i = y; i < y+height; i++){

Callers 2

constructorMethod · 0.95
lightFireMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected