Package com.mlarktar.spacewar.sprites

Examples of com.mlarktar.spacewar.sprites.ShipAI


    // Add the two ships to space
    if (ngf.getShip1Pilot() == NewGame.PILOTHUMAN) {
      ship1 = new Ship(unitx * 2, unity * 2, space);
    } else {
      ship1 = new ShipAI(unitx * 2, unity * 2, space);
    }

    if (ngf.getShip2Pilot() == NewGame.PILOTHUMAN) {
      ship2 =
        new Ship(
          bounds.width - unitx * 2,
          bounds.height - unity * 2,
          space);
    } else {
      ship2 =
        new ShipAI(
          bounds.width - unitx * 2,
          bounds.height - unity * 2,
          space);
    }

 
View Full Code Here

TOP

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

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.