Skip to content

Commit

Permalink
refactored
Browse files Browse the repository at this point in the history
  • Loading branch information
ssatguru committed Nov 25, 2021
1 parent 48c8680 commit ffdcc69
Show file tree
Hide file tree
Showing 7 changed files with 584 additions and 296 deletions.
32 changes: 2 additions & 30 deletions dist/CharacterController.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,6 @@ export declare class CharacterController {
private _skeleton;
private _camera;
private _scene;
private _walkSpeed;
private _walkFastSpeed;
private _runSpeed;
private _backSpeed;
private _backFastSpeed;
private _jumpSpeed;
private _leftSpeed;
private _leftFastSpeed;
private _rightSpeed;
private _rightFastSpeed;
private _turnSpeed;
private _turnFastSpeed;
private _gravity;
private _minSlopeLimit;
private _maxSlopeLimit;
Expand All @@ -24,24 +12,7 @@ export declare class CharacterController {
private _stepOffset;
private _vMoveTot;
private _vMovStartPos;
private _walk;
private _walkBack;
private _walkBackFast;
private _idle;
private _idleJump;
private _run;
private _runJump;
private _fall;
private _turnLeft;
private _turnLeftFast;
private _turnRight;
private _turnRightFast;
private _strafeLeft;
private _strafeLeftFast;
private _strafeRight;
private _strafeRightFast;
private _slideBack;
private _anims;
private _actMap;
private _walkKey;
private _walkBackKey;
private _turnLeftKey;
Expand Down Expand Up @@ -137,6 +108,7 @@ export declare class CharacterController {
private _jumpStartPosY;
private _jumpTime;
private _doJump;
private _calcJumpDist;
private _endJump;
private _areVectorsEqual;
private _verticalSlope;
Expand Down
2 changes: 1 addition & 1 deletion dist/CharacterController.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/CharacterController.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit ffdcc69

Please sign in to comment.