thats is the problem i dont know which tower acess to variable s and i dont know how to restrict that ;/
Type: Posts; User: Entertainer
thats is the problem i dont know which tower acess to variable s and i dont know how to restrict that ;/
i think when two objects tower change the value of variable s, my ideia is dont let second tower change s value but i dont know how can i do it ;/
if (shot != null) window.getDisplayer().remove(shot);
for (SimpleImage tower : towers) {
for (MovingImage x : invaders) {
if...
1935
for (SimpleImage tower : towers) {
for (MovingImage x : invaders) {
if (Math.abs(tower.getPosition().distance(x.getPosition())) < RANGE) {
SimpleShape s = new SimpleShape(...
Hi guys
i have a problem, first i have two cicles for each to print a line like a cross to an object, thats actualize the line when the object moves, my problem is when i got two objects pointing...