Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
neuroprod committed Apr 3, 2024
1 parent 64901b1 commit 684506e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
4 changes: 1 addition & 3 deletions frontend/src/transitions/GoRightRoom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
10 changes: 1 addition & 9 deletions frontend/src/transitions/Work.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(){

Expand Down

0 comments on commit 684506e

Please sign in to comment.