Commit d11d6335 authored by Monika's avatar Monika
Browse files

set collision racket and ball

parent 2daab4b4
......@@ -45,7 +45,7 @@ function ClientRacket() {
return attributes.isActive;
},
getVector: function () {
console.log(attributes.x - attributes.prevX, attributes.y - attributes.prevY, 'lala');
//console.log(attributes.x - attributes.prevX, attributes.y - attributes.prevY, 'lala');
return {
vx: attributes.x - attributes.prevX,
vy: attributes.y - attributes.prevY
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment