Package edu.ups.gamedev.weapons

Examples of edu.ups.gamedev.weapons.Weapon


    // attach everything
    root.attachChild(playerTank);

    playerTank.setLocalTranslation(10, 200, 10);
    playerTank.setPrimaryWeapon(new Weapon(CannonFireable.class, new TeapotPlacingWarhead(), .2f));
    playerTank.setSecondaryWeapon(new Weapon(MissileFireable.class,  new KineticWarhead(), .2f));
    playerTank.addController(new TankController(playerTank));
   
    //register the player
    try {
      net.register(player.getControlledObject(), NetworkConstants.TANK);
View Full Code Here

TOP

Related Classes of edu.ups.gamedev.weapons.Weapon

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.