Skip to content

Commit

Permalink
Fix typos (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSynchronicity authored Oct 5, 2024
1 parent 913e934 commit 1e7b499
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/actors/baddie.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class Baddie extends ex.Actor {
height: height,
});

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

}

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

0 comments on commit 1e7b499

Please sign in to comment.