UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

20 lines (12 loc) 482 B
import {BinaryDataType} from "../../../binary/type/BinaryDataType"; interface IBinarySchema { [k: string]: BinaryDataType } export class TableRecord<T extends IBinarySchema> { constructor(type: T) readonly table_schema: RowFirstTableSpec value: Partial<{ [prop in keyof T]: number }> get(): { [prop in keyof T]: number } set(v: Partial<{ [prop in keyof T]: number }>): void bind(table: RowFirstTable, row_index: number): void }