feat(): add animation and call service & controllers (#259)

* feat(): add animation and call service & controllers

- run animations on interval so we don't lose animations when walking through doors
- move cl_call.ts to a class

* fix(animation/service): make everything private except for open/closePhone and start/endPhoneCall
This commit is contained in:
Dillon Skaggs authored and GitHub committed 2021-07-06 23:02:55 +02:00
1 parent 4ef89f679f
commit 398bfa2092
14 files changed
+412 -298

No files matched your search

+5
View File
@@ -18,6 +18,11 @@ export interface CallHistoryItem {
is_accepted: number;
}
export enum CallRejectReasons {
DECLINED,
BUSY_LINE
}
export enum CallEvents {
INITIALIZE_CALL = 'npwd:beginCall',
START_CALL = 'npwd:startCall',