()
| 1122 | } |
| 1123 | |
| 1124 | update() |
| 1125 | { |
| 1126 | super.update(); |
| 1127 | |
| 1128 | if (!this.isKeyInputObject()) |
| 1129 | return; |
| 1130 | |
| 1131 | // click off object to stop editing |
| 1132 | if (mouseWasPressed(0) && !this.isMouseOverlapping() || |
| 1133 | gamepadWasPressed(0, gamepadPrimary)) |
| 1134 | { |
| 1135 | this.stopEditing(); |
| 1136 | inputClearKey(0,0); |
| 1137 | } |
| 1138 | } |
| 1139 | |
| 1140 | render() |
| 1141 | { |
nothing calls this directly
no test coverage detected