Renderer/assets/Scripts/client/player/playercontrols.ts
2025-05-16 11:19:53 -04:00

30 lines
468 B
TypeScript

/**
* Overall state of the player's controls
*/
interface PlayerControlState {
/**
* State of the room tool
*/
roomTool: RoomToolState,
}
/**
* State for the room tool
*/
interface RoomToolState {
/**
* The currently selected functionality of the room tool
*/
currentState: number,
}
/**
* Actual player control state
*/
export let playerControlState: PlayerControlState = {
roomTool: {
currentState: 0
}
}