Package com.mlarktar.spacewar.sprites

Examples of com.mlarktar.spacewar.sprites.ShipObserver


    space.addSpaceItem(ship1);
    space.addSpaceItem(ship2);

    // Add observers that show ships energy levels
    so1 = new ShipObserver(unitx, unity, ship1);
    so2 = new ShipObserver(unitx, bounds.height - unity, ship2);

    space.addSpaceItem(so1);
    space.addSpaceItem(so2);

    // Send all keystrokes to the KeyInterpreter object
View Full Code Here

TOP

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

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.