Refactor player and room to support adding effects.

This commit is contained in:
2021-05-25 16:02:06 -07:00
parent b3058097b4
commit ccd4974266
13 changed files with 198 additions and 79 deletions

View File

@ -1,8 +1,8 @@
import Scene from "../Scene.ts";
import Player from "../Player.ts";
export function look(_player: Player, scene: Scene): string {
return scene.look();
export function look(player: Player, scene: Scene): string {
return scene.look(player.activeEffects, scene.activeEffects);
}
export function pickUpItem(