Package fr.umlv.escapeir.model.weapon

Examples of fr.umlv.escapeir.model.weapon.FireWeapon


    this.weapons = new HashMap<>();
    int categoryWeapon = Category.ENNEMY_BULLET.getValue();
    if (category == Category.PLAYER.getValue())
      categoryWeapon = Category.PLAYER_BULLET.getValue();
    this.weapons.put(MissileWeapon.ID, new MissileWeapon(categoryWeapon, 40));
    this.weapons.put(FireWeapon.ID, new FireWeapon(categoryWeapon, 20));
    this.weapons.put(ShiboleetWeapon.ID, new ShiboleetWeapon(categoryWeapon, 10));
    try {
      this.sprite = ImageStore.getImage(spriteName);
    } catch (IOException exception) {
      System.err.println("Unfindable image " + exception.getMessage());
View Full Code Here

TOP

Related Classes of fr.umlv.escapeir.model.weapon.FireWeapon

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.