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:
@@ -13,7 +13,7 @@ export class DrawParameters {
|
||||
/** @type {Rectangle} */
|
||||
this.visibleRect = visibleRect;
|
||||
|
||||
/** @type {number} */
|
||||
/** @type {string} */
|
||||
this.desiredAtlasScale = desiredAtlasScale;
|
||||
|
||||
/** @type {number} */
|
||||
|
||||
@@ -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 {
|
||||
/**
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user