Skip to content

Commit 1e7b499

Browse files
Fix typos (#150)
1 parent 913e934 commit 1e7b499

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/actors/baddie.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class Baddie extends ex.Actor {
2121
height: height,
2222
});
2323

24-
// Passive recieves collision events but does not participate in resolution
24+
// Passive receives collision events but does not participate in resolution
2525
this.body.collisionType = ex.CollisionType.Passive;
2626
// Enemy groups does not collide with itself
2727
this.body.group = Baddie.group;
@@ -62,7 +62,7 @@ export class Baddie extends ex.Actor {
6262

6363
}
6464

65-
// Fires before excalibur collision resoulation
65+
// Fires before excalibur collision resolution
6666
private onPreCollision(evt: ex.PreCollisionEvent) {
6767
// only kill a baddie if it collides with something that isn't a baddie or a baddie bullet
6868
if(!(evt.other instanceof Baddie) &&

0 commit comments

Comments
 (0)