Copy files
This commit is contained in:
commit
36f01c6716
22 changed files with 500 additions and 0 deletions
10
src/scenes/scene.ts
Normal file
10
src/scenes/scene.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { Drawable, DrawableDescriptor } from 'sdf-2d';
|
||||
|
||||
export interface Scene {
|
||||
readonly descriptors: Array<DrawableDescriptor>;
|
||||
animate(
|
||||
currentTime: DOMHighResTimeStamp,
|
||||
viewAreaSize: { width: number; height: number }
|
||||
): void;
|
||||
readonly drawables: Array<Drawable>;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue