Tension Implemented without physics

This commit is contained in:
Luis Fernando Molina committed 2019-07-03 09:18:21 +02:00
1 parent abbc95f4df
commit 543dd3da3b
5 files changed
+360 -25

No files matched your search

+4 -3
View File
@@ -592,11 +592,12 @@ function newStrategyPart () {
if (thisObject.container.frame.radius > 1) {
/* Target Line */
let LINE_STYLE
let LINE_STYLE = UI_COLOR.TITANIUM_YELLOW
if (thisObject.payload.floatingObject.isTensed === true) {
LINE_STYLE = UI_COLOR.GOLDEN_ORANGE
}
if (thisObject.payload.floatingObject.isFrozen === true) {
LINE_STYLE = UI_COLOR.TURQUOISE
} else {
LINE_STYLE = UI_COLOR.TITANIUM_YELLOW
}
browserCanvasContext.beginPath()