From fb671c8ec8c21f174cb9115dea5021c5dc47e80a Mon Sep 17 00:00:00 2001 From: Erik Onarheim Date: Sun, 11 Feb 2024 17:27:49 -0600 Subject: [PATCH] fix: typo on offscreen/onscreen event docs --- src/engine/Events.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/Events.ts b/src/engine/Events.ts index d6fa1cf57..38b6e6003 100644 --- a/src/engine/Events.ts +++ b/src/engine/Events.ts @@ -545,7 +545,7 @@ export class DeactivateEvent extends GameEvent { } /** - * 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 { constructor(public target: Entity) { @@ -554,7 +554,7 @@ export class ExitViewPortEvent extends GameEvent { } /** - * 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 { constructor(public target: Entity) {