уровни игры
This commit is contained in:
@@ -150,6 +150,17 @@ function GameMap({ store }: Props) {
|
||||
))}
|
||||
|
||||
<CharacterEntity store={store} />
|
||||
|
||||
{store.canAdvanceLevel && (
|
||||
<button
|
||||
type="button"
|
||||
className="next-level-btn"
|
||||
onPointerDown={(e) => e.stopPropagation()}
|
||||
onClick={store.nextLevel}
|
||||
>
|
||||
Перейти на следующий уровень
|
||||
</button>
|
||||
)}
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user