Align smoke test with upgrade-aware thrust
This commit is contained in:
parent
8cc479fdee
commit
8f2c10fdc4
@ -238,7 +238,7 @@ test('player propulsion smoke emits at world engine positions with per-particle
|
||||
assert.match(source, /const particle = this\.playerSmoke\.emitParticleAt\(engineX, engineY, 1\)/);
|
||||
assert.match(source, /particle\.velocityX = velocityX/);
|
||||
assert.match(source, /particle\.velocityY = velocityY/);
|
||||
assert.match(source, /Phaser\.Math\.Linear\(150, 48, forwardThrust\)/);
|
||||
assert.match(source, /Phaser\.Math\.Linear\(150, 48, effectiveForwardThrust\)/);
|
||||
assert.doesNotMatch(source, /this\.playerSmoke\.setPosition\(sternX, sternY\)/);
|
||||
assert.doesNotMatch(source, /this\.playerSmoke\.setParticleSpeed\(/);
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user