Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
DoNaTio s.r.o.
PiPo
Commits
d11d6335
Commit
d11d6335
authored
Dec 11, 2014
by
Monika
Browse files
set collision racket and ball
parent
2daab4b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/ClientRacket.js
View file @
d11d6335
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment