From cadb230de683d9f2a5c0f975bbebed1c5b85a566 Mon Sep 17 00:00:00 2001 From: Evan Hemsley <2342303+ehemsley@users.noreply.github.com> Date: Wed, 12 Jun 2019 14:07:26 -0700 Subject: [PATCH] change gc collections library reference --- content/pong/ball/bouncing/collision_resolution.md | 2 +- content/pong/ball/bouncing/motion_engine.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/pong/ball/bouncing/collision_resolution.md b/content/pong/ball/bouncing/collision_resolution.md index 23d0661..dd9b138 100644 --- a/content/pong/ball/bouncing/collision_resolution.md +++ b/content/pong/ball/bouncing/collision_resolution.md @@ -73,7 +73,7 @@ In **game/engines/update_velocity.ts**: import { ComponentModifier, Mutates, Reads } from "encompass-ecs"; import { VelocityComponent } from "game/components/velocity"; import { UpdateVelocityMessage } from "game/messages/update_velocity"; -import { GCOptimizedSet } from "tstl-gc-optimized-collections"; +import { GCOptimizedSet } from "encompass-gc-optimized-collections"; @Reads(UpdateVelocityMessage) @Mutates(VelocityComponent) diff --git a/content/pong/ball/bouncing/motion_engine.md b/content/pong/ball/bouncing/motion_engine.md index eb099cf..02fcdb4 100644 --- a/content/pong/ball/bouncing/motion_engine.md +++ b/content/pong/ball/bouncing/motion_engine.md @@ -44,7 +44,7 @@ import { PositionComponent } from "game/components/position"; import { CollisionCheckMessage } from "game/messages/collision_check"; import { MotionMessage } from "game/messages/component/motion"; import { UpdatePositionMessage } from "game/messages/update_position"; -import { GCOptimizedList, GCOptimizedSet } from "tstl-gc-optimized-collections"; +import { GCOptimizedList, GCOptimizedSet } from "encompass-gc-optimized-collections"; @Reads(MotionMessage) @Emits(UpdatePositionMessage, CollisionCheckMessage)