Package com.mlarktar.spacewar.sprites

Examples of com.mlarktar.spacewar.sprites.Misile


    // laser at them
    Iterator i = items.iterator();
    while (i.hasNext()) {
      SpaceItem si = (SpaceItem) i.next();
      if (si instanceof Misile) {
        Misile misile = (Misile) si;
        if (LaserBeam.inRange(ship, misile) && misile.getOwner() != ship) {
          ship.addRule(this);
          break;
        }
      }
    }
View Full Code Here

TOP

Related Classes of com.mlarktar.spacewar.sprites.Misile

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.