From 732fe6f4811cc082bf938fed2d28c1f9c8bbd1f6 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Tue, 15 Aug 2023 18:30:19 -0600 Subject: generate uuids for entities; scaffolding for a server --- engine/components/NetworkUpdateable.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'engine/components/NetworkUpdateable.ts') 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; } } -- cgit v1.2.3-70-g09d2