// Path: src/main/java/model/KnightWeapon.java
// public enum KnightWeapon {
//     SWORD(10), DOUBLE_SWORD(19), FAITH(1);
//     
//     /**
//      * Damage this weapon can do
//      */
//     private Integer damage;
// 
//     private KnightWeapon(Integer damage) {
// 	this.damage = damage;
//     }
// 
//     public Integer getDamage() {
// 	return damage;
//     }
// }


import model.KnightWeapon;
package behavioral.memento;


/**
 * 
 * @author prvoslav
 * 
 * Memento class used to remember the weapon state
 *
 */
public class Memento {

    private KnightWeapon weapon = null;

    public Memento(KnightWeapon weapon) {
	super();
// Path: src/main/java/model/KnightWeapon.java
// public enum KnightWeapon {
//     SWORD(10), DOUBLE_SWORD(19), FAITH(1);
//     
//     /**
//      * Damage this weapon can do
//      */
//     private Integer damage;
// 
//     private KnightWeapon(Integer damage) {
// 	this.damage = damage;
//     }
// 
//     public Integer getDamage() {
// 	return damage;
//     }
// }


// Path: src/main/java/behavioral/memento/Memento.java
import model.KnightWeapon;

package behavioral.memento;


/**
 * 
 * @author prvoslav
 * 
 * Memento class used to remember the weapon state
 *
 */
public class Memento {

    private KnightWeapon weapon = null;

    public Memento(KnightWeapon weapon) {
	super();
	this.weapon = weapon;