From 684506ee0cd96ac8ac6f3e0d3a1c7149db625d4e Mon Sep 17 00:00:00 2001 From: kris temmerman Date: Wed, 3 Apr 2024 10:48:23 +0200 Subject: [PATCH] fixes --- frontend/src/transitions/GoRightRoom.ts | 4 +--- frontend/src/transitions/Work.ts | 10 +--------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/frontend/src/transitions/GoRightRoom.ts b/frontend/src/transitions/GoRightRoom.ts index 565d916d..7daefb65 100644 --- a/frontend/src/transitions/GoRightRoom.ts +++ b/frontend/src/transitions/GoRightRoom.ts @@ -8,9 +8,7 @@ export default class GoRightRoom extends Transition{ if(GameModel.stateFashion ==StateFasion.READ_MAIL_DONE && GameModel.pantsFound.length>=2){ GameModel.stateFashion =StateFasion.CAN_MAKE_TRIANGLE } - if(GameModel.stateFashion ==StateFasion.MAKE_TRIANGLE_DONE && GameModel.pantsFound.length>=4){ - GameModel.stateFashion =StateFasion.CAN_FINISH_WEBSITE - } + if(GameModel.stateFashion==StateFasion.FINISH_WEBSITE_DONE){ GameModel.stateFashion=StateFasion.CAN_READ_MAIL_MAILBOX } diff --git a/frontend/src/transitions/Work.ts b/frontend/src/transitions/Work.ts index fa1a8810..bb52ebbd 100644 --- a/frontend/src/transitions/Work.ts +++ b/frontend/src/transitions/Work.ts @@ -26,15 +26,7 @@ public count =0; GameModel.stateHighTech =StateHighTech.GROW_FLOWER; GameModel.stateGirl =StateGirl.BIRD_HOUSE_FELL; - }/* if(GameModel.stateFashion ==StateFasion.CAN_FINISH_WEBSITE){ - GameModel.textHandler.showHitTrigger("makeWebsite",true) - GameModel.stateFashion = StateFasion.FINISH_WEBSITE; - - - GameModel.pants3D.setState(PantsState.StartPantsEnd); - }*/ - // GameModel.setLaptopState(LaptopState.TRIANGLE) - + } } onMouseDown(){