Skip to content

Commit

Permalink
fix: typo on offscreen/onscreen event docs
Browse files Browse the repository at this point in the history
  • Loading branch information
eonarheim committed Feb 11, 2024
1 parent 513dd7f commit fb671c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/engine/Events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ export class DeactivateEvent extends GameEvent<Scene> {
}

/**
* Event thrown on an [[Actor]] when it completely leaves the screen.
* Event thrown on an [[Actor]] when the graphics bounds completely leaves the screen.
*/
export class ExitViewPortEvent extends GameEvent<Entity> {
constructor(public target: Entity) {
Expand All @@ -554,7 +554,7 @@ export class ExitViewPortEvent extends GameEvent<Entity> {
}

/**
* Event thrown on an [[Actor]] when it completely leaves the screen.
* Event thrown on an [[Actor]] when any part of the graphics bounds are on screen.
*/
export class EnterViewPortEvent extends GameEvent<Entity> {
constructor(public target: Entity) {
Expand Down

0 comments on commit fb671c8

Please sign in to comment.