render cart

This commit is contained in:
Robin Appelman 2025-06-26 16:55:55 +02:00
commit a4d835f0c6
9 changed files with 97 additions and 12 deletions

View file

@ -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()}