Adding bouncing balls features, problem with EvilCircle.setControls() method

Hi there!
So I was doing this project, when i found out that the movment method does not work.

Link: https://codepen.io/jkzarzeczny/pen/dyOpdyb

I tried to modify the feature assignment in EvilCircle class, coz I assume that there is a problem with lead to the situation when keys does not update the position of the evil ball. However I have no clue how to overcome the situation.

I’m aware that this problem is probably dumb, however I will be glad If someone give me a clue.

JZ

Well, I messed up the method align (to Shape instead of Ball), miss locate creation of evil object and invocation of setControl() method. Finally I used method evil.update() which does not exist.

As least found those by myself :slight_smile: