mirror of
https://codeberg.org/demostf/frontend.git
synced 2026-06-04 02:34:13 +02:00
render cart
This commit is contained in:
parent
c96f2e6b7b
commit
a4d835f0c6
9 changed files with 97 additions and 12 deletions
|
|
@ -264,6 +264,7 @@ export const Analyser = (props: AnalyseProps) => {
|
|||
const players = () => parser.getPlayersAtTick(tick());
|
||||
const buildings = () => parser.getBuildingsAtTick(tick());
|
||||
const projectiles = () => parser.getProjectilesAtTick(tick());
|
||||
const cart = () => parser.getCart(tick());
|
||||
const events = parser.getEvents();
|
||||
const playButtonText = () => (playing()) ? '⏸' : '▶️';
|
||||
const inShared = session && !session.isOwner();
|
||||
|
|
@ -280,6 +281,7 @@ export const Analyser = (props: AnalyseProps) => {
|
|||
players={players()}
|
||||
buildings={buildings()}
|
||||
projectiles={projectiles()}
|
||||
cart={cart()}
|
||||
header={props.header}
|
||||
world={backgroundBoundaries}
|
||||
scale={scale()}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue