From 64380a0a18953c4835de33ecee4ef71c8ff00b86 Mon Sep 17 00:00:00 2001 From: Michael Chung <6252325+ArEnSc@users.noreply.github.com> Date: Sat, 23 Mar 2024 17:43:39 -0400 Subject: [PATCH] Thinking about selection on of game objects in the scene. --- app/pages/PageEnigma/js/timeline.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/app/pages/PageEnigma/js/timeline.ts b/app/pages/PageEnigma/js/timeline.ts index 65a8889d79..57a7314d13 100644 --- a/app/pages/PageEnigma/js/timeline.ts +++ b/app/pages/PageEnigma/js/timeline.ts @@ -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 { } + // this will update the state of the clips based off uuid async modifyClip(clip_uuid: string, updates: AnyJson): Promise { + } + + async clipDidEnterDropZone() { + + } + + async clipDidExitDropZone() { + } // timeline controls this.