Interface

TaxiGameState

TaxiGameState

Interface that defines the complete state of the game

Properties:
Name Type Description
playerPos Vec2

Position of the player.

destinationIdx number

The Index of the Destination

customerPosIdx number

The postition of the customer (either at one of the destination [0-3] or in the taxi[5])

View Source core/src/Games/TaxiGame/GameState.ts, line 5