MCPcopy Create free account
hub / github.com/Code-Bullet/Jump-King / UpdatePlayerSlide

Method UpdatePlayerSlide

Player.js:821–829  ·  view source on GitHub ↗
(currentLines)

Source from the content-addressed store, hash-verified

819 }
820
821 UpdatePlayerSlide(currentLines) {
822 if (this.isSlidding) {
823 if (!this.IsPlayerOnDiagonal(currentLines)) {
824 // print("NOT SLIDDING")
825 this.isSlidding = false;
826 }
827 }
828
829 }
830
831 UpdatePlayerRun(currentLines) {
832 this.isRunning = false;

Callers 1

UpdateMethod · 0.95

Calls 1

IsPlayerOnDiagonalMethod · 0.95

Tested by

no test coverage detected