Setup formatting

This commit is contained in:
schmelczerandras 2020-10-07 16:40:21 +02:00
parent d34f25295c
commit dd850d11d1
45 changed files with 230 additions and 190 deletions

View file

@ -3,7 +3,7 @@ import { serializable } from '../transport/serialization/serializable';
@serializable
export class Circle {
constructor(public center: vec2, public radius: number) { }
constructor(public center: vec2, public radius: number) {}
public toArray(): Array<any> {
return [this.center, this.radius];

View file

@ -3,7 +3,7 @@ import { serializable } from '../transport/serialization/serializable';
@serializable
export class Rectangle {
constructor(public topLeft = vec2.create(), public size = vec2.create()) { }
constructor(public topLeft = vec2.create(), public size = vec2.create()) {}
public toArray(): Array<any> {
return [this.topLeft, this.size];