Package plar.core

Examples of plar.core.ElementBullet


  }

  public void createBullet() {

    ElementBullet shoot = new ElementBullet();
    initializeShoot(shoot);
    shoot.hitDamage = 100;
    shoot.setSpeed(new Vec2(3 * D().x, 3 * D().y));
    //initializeShoot(shoot);
    //addAmmo(-gunUseAmmo);

  }
 
View Full Code Here


    gunName = "Standard Gun";
    gunUseAmmo = 1;
  }

  public void createBullet() {
    initializeShoot(new ElementBullet());
  }
View Full Code Here

TOP

Related Classes of plar.core.ElementBullet

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.