We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 913e934 commit 1e7b499Copy full SHA for 1e7b499
src/actors/baddie.ts
@@ -21,7 +21,7 @@ export class Baddie extends ex.Actor {
21
height: height,
22
});
23
24
- // Passive recieves collision events but does not participate in resolution
+ // Passive receives collision events but does not participate in resolution
25
this.body.collisionType = ex.CollisionType.Passive;
26
// Enemy groups does not collide with itself
27
this.body.group = Baddie.group;
@@ -62,7 +62,7 @@ export class Baddie extends ex.Actor {
62
63
}
64
65
- // Fires before excalibur collision resoulation
+ // Fires before excalibur collision resolution
66
private onPreCollision(evt: ex.PreCollisionEvent) {
67
// only kill a baddie if it collides with something that isn't a baddie or a baddie bullet
68
if(!(evt.other instanceof Baddie) &&
0 commit comments