add character to clientstate and add sprint system
This commit is contained in:
parent
d5b77a9044
commit
d83ddf4e53
3 changed files with 41 additions and 2 deletions
|
@ -1,14 +1,14 @@
|
|||
/* eslint-disable roblox-ts/no-private-identifier */
|
||||
|
||||
import { CharacterRigR6 } from "@rbxts/character-promise"
|
||||
import { InputKind } from "ReplicatedStorage/inputKind"
|
||||
|
||||
/**
|
||||
* The client ECS state.
|
||||
*/
|
||||
export class clientState {
|
||||
[index: string]: unknown,
|
||||
character?: CharacterRigR6
|
||||
debugEnabled = false
|
||||
isJumping = false
|
||||
isRunning = false
|
||||
lastProcessedCommand?: InputKind
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue