Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- constructor() {
- // ... other code snippet
- this.rotateHeadOffset = 0;
- this.walkOffset = 0;
- this.scaleHeadOffset = 0;
- this.walking = false;
- this.headSwinging = false;
- this.bodyScaling = false;
- }
- animate() {
- this.headAnimate();
- this.bodyAnimate();
- this.feetAnimate();
- }
Add Comment
Please, Sign In to add comment