#262 : Send frameRate to client
This commit is contained in:
@ -188,7 +188,8 @@ async function addHttpRoutes(app: Application) {
|
||||
isAnimated: spriteAction.isAnimated,
|
||||
frameCount: JSON.parse(JSON.stringify(spriteAction.sprites)).length,
|
||||
frameWidth: spriteAction.frameWidth,
|
||||
frameHeight: spriteAction.frameHeight
|
||||
frameHeight: spriteAction.frameHeight,
|
||||
frameSpeed: spriteAction.frameSpeed
|
||||
})
|
||||
})
|
||||
|
||||
|
@ -34,6 +34,7 @@ export type AssetData = {
|
||||
frameCount?: number
|
||||
frameWidth?: number
|
||||
frameHeight?: number
|
||||
frameSpeed?: number
|
||||
}
|
||||
|
||||
export type WorldSettings = {
|
||||
|
Reference in New Issue
Block a user