mirror of
https://codeberg.org/demostf/frontend.git
synced 2026-06-04 02:34:13 +02:00
show projectiles in viewer
This commit is contained in:
parent
213d2c6753
commit
22ad43a4b7
7 changed files with 215 additions and 89 deletions
|
|
@ -211,6 +211,7 @@ export const Analyser = (props: AnalyseProps) => {
|
|||
|
||||
const players = () => parser.getPlayersAtTick(tick());
|
||||
const buildings = () => parser.getBuildingsAtTick(tick());
|
||||
const projectiles = () => parser.getProjectilesAtTick(tick());
|
||||
const kills = parser.getKills();
|
||||
const playButtonText = () => (playing()) ? '⏸' : '▶️';
|
||||
const inShared = session && !session.isOwner();
|
||||
|
|
@ -226,6 +227,7 @@ export const Analyser = (props: AnalyseProps) => {
|
|||
<MapRender size={worldSize}
|
||||
players={players()}
|
||||
buildings={buildings()}
|
||||
projectiles={projectiles()}
|
||||
header={props.header}
|
||||
world={backgroundBoundaries}
|
||||
scale={scale()}/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue