Solve serialization

This commit is contained in:
schmelczerandras 2020-10-06 21:33:04 +02:00
commit 8e44dd3733

View file

@ -1,8 +1,9 @@
import { vec2 } from 'gl-matrix';
import { InvertedTunnel } from 'sdf-2d';
import { CommandExecutors, Id, TunnelBase } from 'shared';
import { CommandExecutors, deserializable, Id, TunnelBase } from 'shared';
import { RenderCommand } from '../commands/types/render';
@deserializable(TunnelBase)
export class TunnelView extends TunnelBase {
private shape: InvertedTunnel;