diff options
| author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-08-25 16:48:17 -0600 |
|---|---|---|
| committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-08-25 16:48:17 -0600 |
| commit | 773ce84f4bf559337e132edd7fcce02a0a2598fd (patch) | |
| tree | 5fd0b452b459cc5a5b6a1ed98f2d7b9af950864d /engine/systems/NetworkUpdate.ts | |
| parent | dec7b614d895a1b507137e4a96a8999ff63aa179 (diff) | |
| download | jumpstorm-773ce84f4bf559337e132edd7fcce02a0a2598fd.tar.gz jumpstorm-773ce84f4bf559337e132edd7fcce02a0a2598fd.zip | |
prettier formatting
Diffstat (limited to 'engine/systems/NetworkUpdate.ts')
| -rw-r--r-- | engine/systems/NetworkUpdate.ts | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/engine/systems/NetworkUpdate.ts b/engine/systems/NetworkUpdate.ts index 6c1d3e4..bcfb71e 100644 --- a/engine/systems/NetworkUpdate.ts +++ b/engine/systems/NetworkUpdate.ts @@ -1,11 +1,11 @@ -import { System, SystemNames } from "."; -import { Game } from "../Game"; -import { ComponentNames, NetworkUpdateable } from "../components"; +import { System, SystemNames } from '.'; +import { Game } from '../Game'; +import { ComponentNames, NetworkUpdateable } from '../components'; import { type MessageQueueProvider, type MessagePublisher, - type MessageProcessor, -} from "../network"; + type MessageProcessor +} from '../network'; export class NetworkUpdate extends System { private queueProvider: MessageQueueProvider; @@ -15,7 +15,7 @@ export class NetworkUpdate extends System { constructor( queueProvider: MessageQueueProvider, publisher: MessagePublisher, - messageProcessor: MessageProcessor, + messageProcessor: MessageProcessor ) { super(SystemNames.NetworkUpdate); @@ -34,9 +34,9 @@ export class NetworkUpdate extends System { ComponentNames.NetworkUpdateable, (entity) => { const networkUpdateComponent = entity.getComponent<NetworkUpdateable>( - ComponentNames.NetworkUpdateable, + ComponentNames.NetworkUpdateable ); - }, + } ); this.publisher.publish(); |
