Package it.timehero.inventario

Source Code of it.timehero.inventario.Spada

/**
*
*/
package it.timehero.inventario;

import org.newdawn.slick.SlickException;

import it.timehero.actors.Actor;
import it.timehero.agent.SimpleJasonAgent;
import it.timehero.entities.Entity;
import it.timehero.rules.Scheda;
import it.timehero.util.Helper;

/**
* @author AM
* @project timehero
*/
public class Spada implements Oggetto {

  private Entity entity;
 
  private String ID;
 
  public Spada(){
    try {
      entity = new Entity(28, 18, "data/grafica/hero3.gif", 25, 32, 0, 2,
          1, 3, 0, 3, 0, 2, 1, 3, 3, 5);
    } catch (SlickException e) {
      e.printStackTrace();
    }
    setID("SPADA");
  }
 
  public String getDescrizione() {
    return "la spada serve per uccidere i nemici!";
  }

  public String getNome() {
    return "SPADA";
  }

  public SimpleJasonAgent getAgent() {
    return null;
  }

  public Entity getEntity() {
    return entity;
  }

  public String getID() {
    return ID;
  }

  public Scheda getScheda() {
    return null;
  }

  public String getStato() {
    return null;
  }

  public void setAgent(SimpleJasonAgent agent) {
  }

  public void setEntity(Entity entity) {
    this.entity = entity;
  }

  public void setID(String id) {
    this.ID = id;
  }

  public void setScheda(Scheda scheda) {
  }

  public void setStato(String stato) {
  }

}
TOP

Related Classes of it.timehero.inventario.Spada

TOP
Copyright © 2018 www.massapi.com. 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.