Search:

Type: Posts; User: Entertainer

Search: Search took 0.11 seconds.

  1. Replies
    9
    Views
    1,205

    Re: Problem with for each cicles

    thats is the problem i dont know which tower acess to variable s and i dont know how to restrict that ;/
  2. Replies
    9
    Views
    1,205

    Re: Problem with for each cicles

    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 ;/
  3. Replies
    9
    Views
    1,205

    Re: Problem with for each cicles

    if (shot != null) window.getDisplayer().remove(shot);
    for (SimpleImage tower : towers) {
    for (MovingImage x : invaders) {

    if...
  4. Replies
    9
    Views
    1,205

    Re: Problem with for each cicles

    1935

    for (SimpleImage tower : towers) {
    for (MovingImage x : invaders) {
    if (Math.abs(tower.getPosition().distance(x.getPosition())) < RANGE) {

    SimpleShape s = new SimpleShape(...
  5. Replies
    9
    Views
    1,205

    Problem with for each cicles

    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...
Results 1 to 5 of 5