This commit is contained in:
schmelczerandras 2020-11-04 16:01:17 +01:00
parent 1ce961d6c2
commit 99cdb62928
76 changed files with 340 additions and 433 deletions

View file

@ -1,6 +1,6 @@
import { Command } from '../commands/command';
import { Id } from '../transport/identity';
import { serializable } from '../transport/serialization/serializable';
import { Id } from '../communication/id';
import { serializable } from '../serialization/serializable';
@serializable
export class RemoteCall {
@ -33,17 +33,6 @@ export class PropertyUpdatesForObject {
}
}
@serializable
export class PropertyUpdatesForObjects extends Command {
constructor(public readonly updates: Array<PropertyUpdatesForObject>) {
super();
}
public toArray(): Array<any> {
return [this.updates];
}
}
export abstract class GameObject {
private remoteCalls: Array<RemoteCall> = [];