1.0.1 • Published 2 years ago

@ludic/ein v1.0.1

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

#+begin_src mermaid :file frame.png graph TD AHard -->|Text| B(Round) B --> C{Decision} C -->|One| DResult 1 C -->|Two| EResult 2 #+end_src

#+RESULTS: [file:frame.png]

** Ideas Keep Component state in both System and WW, on execute(), diff WW and system state, only transfer diff update to WW

Have a Job Manager that queues up work, resyncs Entities, resolves System dependency graphs

** Example #+begin_src typescript export class Component { _data: any modified: boolean

   constructor(data?: any){
     this.data = data
     this.modified = false
   }

   get data(){
     return this._data
   }

   set data(data){
     this._data = data
     this.modified = true
   }
 }

#+end_src