23 lines
511 B
TypeScript
23 lines
511 B
TypeScript
import {AbstractMesh, Color3, Observable} from "@babylonjs/core";
|
|
import {DiagramEntity} from "./diagramEntity";
|
|
import {AppConfigType} from "../util/appConfigType";
|
|
|
|
|
|
export interface IPersistenceManager {
|
|
add(mesh: AbstractMesh);
|
|
|
|
remove(mesh: AbstractMesh);
|
|
|
|
modify(mesh: AbstractMesh);
|
|
|
|
initialize();
|
|
|
|
setConfig(config: AppConfigType);
|
|
|
|
changeColor(oldColor: Color3, newColor: Color3)
|
|
|
|
updateObserver: Observable<DiagramEntity>;
|
|
configObserver: Observable<AppConfigType>;
|
|
|
|
}
|