Closed approachcircle closed 4 months ago
this seems really dumb: https://github.com/approachcircle/Pong/blob/9a51eca9940ffaba7e6c937a197bdc5b87aff700/src/main/java/net/approachcircle/game/backend/Button.java#L61 considering we remove the input processor here anyway: https://github.com/approachcircle/Pong/blob/9a51eca9940ffaba7e6c937a197bdc5b87aff700/src/main/java/net/approachcircle/game/backend/Button.java#L51 and then finally readd it again here???: https://github.com/approachcircle/Pong/blob/9a51eca9940ffaba7e6c937a197bdc5b87aff700/src/main/java/net/approachcircle/game/backend/Button.java#L67
(this might have performance consequences considering it runs every frame)
buttons seem to work fine after removal, but will need to be monitored if further issues arise
this seems really dumb: https://github.com/approachcircle/Pong/blob/9a51eca9940ffaba7e6c937a197bdc5b87aff700/src/main/java/net/approachcircle/game/backend/Button.java#L61 considering we remove the input processor here anyway: https://github.com/approachcircle/Pong/blob/9a51eca9940ffaba7e6c937a197bdc5b87aff700/src/main/java/net/approachcircle/game/backend/Button.java#L51 and then finally readd it again here???: https://github.com/approachcircle/Pong/blob/9a51eca9940ffaba7e6c937a197bdc5b87aff700/src/main/java/net/approachcircle/game/backend/Button.java#L67
(this might have performance consequences considering it runs every frame)