summaryrefslogtreecommitdiff
path: root/engine/components
diff options
context:
space:
mode:
Diffstat (limited to 'engine/components')
-rw-r--r--engine/components/NetworkUpdateable.ts8
1 files changed, 7 insertions, 1 deletions
diff --git a/engine/components/NetworkUpdateable.ts b/engine/components/NetworkUpdateable.ts
index 73ceeba..980b064 100644
--- a/engine/components/NetworkUpdateable.ts
+++ b/engine/components/NetworkUpdateable.ts
@@ -1,7 +1,13 @@
import { Component, ComponentNames } from ".";
export class NetworkUpdateable extends Component {
- constructor() {
+ public isPublish: boolean;
+ public isSubscribe: boolean;
+
+ constructor(isPublish: boolean, isSubscribe: boolean) {
super(ComponentNames.NetworkUpdateable);
+
+ this.isPublish = isPublish;
+ this.isSubscribe = isSubscribe;
}
}