Closed autumn-sonata closed 2 years ago
Switch around players and set which is dormant and which is not.
For the "players" of conveyer belt iteration, keep changing what players is referring to (normal players on the board or conveyer belt movements.
Conveyer belts functions as follows:
1) Increase speed of movement of objects. Delay any sort of input until conveyer belt logic is complete.
2) After all of player movement (all destinations have been updated), do another checking of allowed to move etc for all conveyer belt blocks (need allmovescomplete for overlappoint to work), and update all of the objects destination position at once.
Input player movement -> Conveyer belt check for player on top of it and if there is, update using same structure as playerManager.