(selectedThang)
| 1133 | } |
| 1134 | |
| 1135 | getPID (selectedThang) { |
| 1136 | if (utils.isCodeCombat) { |
| 1137 | return LevelComponent.PhysicalID |
| 1138 | } else { |
| 1139 | const positionComponent = _.find(this.getThangByID(selectedThang.id).components || [], c => LevelComponent.positionIDs.includes(c.original)) |
| 1140 | if (!positionComponent) { return undefined } |
| 1141 | return positionComponent.original |
| 1142 | } |
| 1143 | } |
| 1144 | |
| 1145 | rotateSelectedThangTo (radians) { |
| 1146 | if (!this.surfaceHasFocus()) { return } |
no test coverage detected