Mario-Maker-Deconstructed icon indicating copy to clipboard operation
Mario-Maker-Deconstructed copied to clipboard

Refactored Player.cs

Open NKCSS opened this issue 5 years ago • 0 comments

Multiple fixes

  • Replaced 'magic' strings with constants
  • re-ordened fields into private and public (and added missing private scoping since this was inconsistent)
  • added the 'new' keyword to indicate hiding was intended
  • Refactored the FixedUpdate method to remove duplicate code

NKCSS avatar Sep 07 '19 16:09 NKCSS