Skip to content

Commit

Permalink
Merge pull request #36 from chiefeu/2d-frontview-stage-map
Browse files Browse the repository at this point in the history
added sidebar component
  • Loading branch information
jtoy authored Mar 27, 2024
2 parents 57c36a0 + 288b602 commit 75580b1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions web/src/components/RenderLevel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,16 @@ const RenderLevel: React.FC<{ simId: string, map?: string | null, img?: string |
{renderAgents()}
</>
</div>
<Sidebar agentPlacement={followAgent}
setFollowAgent={setFollowAgent}
isPlaying={isPlaying}
setIsPlaying={setIsPlaying}
stepId={levelState.stepId}
substepId={levelState.substepId}
level={levelRef.current}
simId={simId}
toggleAudio={toggleAudio}
audioPlayings={audioPlaying} />
</div>
);
}
Expand Down

0 comments on commit 75580b1

Please sign in to comment.