We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69c9602 commit b0cd099Copy full SHA for b0cd099
src/Entity/Boss/Defender.ts
@@ -78,8 +78,6 @@ const DEFENDER_SIZE = 150;
78
* Class which represents the boss "Defender"
79
*/
80
export default class Defender extends AbstractBoss {
81
- /** Defender's trap launchers */
82
- private trappers: Barrel[] = [];
83
/** See AbstractBoss.movementSpeed */
84
public movementSpeed = 0.2;
85
@@ -99,7 +97,7 @@ export default class Defender extends AbstractBoss {
99
97
const offset = 60 / (DEFENDER_SIZE * Math.SQRT1_2);
100
98
for (let i = 0; i < count; ++i) {
101
// Add trap launcher
102
- this.trappers.push(new Barrel(this, {
+ this.barrels.push(new Barrel(this, {
103
...TrapperDefinition,
104
angle: PI2 * ((i / count) + 1 / (count * 2))
105
}));
0 commit comments