Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- VelocityComponent = function VelocityComponent(vx, vy){
- this.vx = vx;
- this.vy = vy;
- return this;
- };
- vs
- function VelocityComponent(vx, vy){
- this.vx = vx;
- this.vy = vy;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement