BedfordWest / fragmentology

Project to make a game together for funsies.
1 stars 0 forks source link

add ability to toggle box2d debug drawing to input controller #87

Closed andydelso closed 6 years ago

andydelso commented 6 years ago

added a toggle and get method to the WorldRenderer to access the current debug mode setting changed the setting from being final so it can be altered used the methods within InputController to set a toggle button

works like a charm but I honestly don't know if this is the correct way to do it

andydelso commented 6 years ago

Awesome! I dug around a bit and noticed why it was drawing. Just had to create the helpers and it was all good.