mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-13 13:22:57 +00:00
Thinking about selection on of game objects in the scene.
This commit is contained in:
1 parent
42fb266516
commit
64380a0a18
1 file changed
+12
@@ -4,8 +4,11 @@ import { ClipOffset } from "../datastructures/clips/clip_offset"
|
||||
// Every object uuid / entity has a track.
|
||||
export class TimelineCurrentReactState {
|
||||
isEditable:boolean
|
||||
selectedObjectID:number
|
||||
|
||||
constructor() {
|
||||
this.isEditable = true // can add clips to it
|
||||
this.selectedObjectID = 0
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,9 +40,18 @@ export class TimeLine {
|
||||
async deleteClip(clip_uuid: string): Promise<void> {
|
||||
|
||||
}
|
||||
|
||||
// this will update the state of the clips based off uuid
|
||||
async modifyClip(clip_uuid: string, updates: AnyJson): Promise<void> {
|
||||
|
||||
}
|
||||
|
||||
async clipDidEnterDropZone() {
|
||||
|
||||
}
|
||||
|
||||
async clipDidExitDropZone() {
|
||||
|
||||
}
|
||||
|
||||
// timeline controls this.
|
||||
|
||||
Reference in new issue
Block a user