1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Implement wire networks, add levers

This commit is contained in:
tobspr
2020-08-13 19:23:00 +02:00
parent 75ab655998
commit 52b4d4d742
46 changed files with 1760 additions and 724 deletions

View File

@@ -13,7 +13,7 @@ export class DrawParameters {
/** @type {Rectangle} */
this.visibleRect = visibleRect;
/** @type {number} */
/** @type {string} */
this.desiredAtlasScale = desiredAtlasScale;
/** @type {number} */

View File

@@ -43,6 +43,14 @@ export const enumAngleToDirection = {
270: enumDirection.left,
};
/** @type {Array<enumDirection>} */
export const arrayAllDirections = [
enumDirection.top,
enumDirection.right,
enumDirection.bottom,
enumDirection.left,
];
export class Vector {
/**
*