// 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 structural.privateclassdata;


/**
 * 
 * @author prvoslav
 *
 * Demonstration of private class data pattern where using PrivateHolyKnight class we are unable to use all of the knight potential
 */
public class Main {

    public static void main(String[] args) {
// 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/structural/privateclassdata/Main.java
import model.KnightWeapon;

package structural.privateclassdata;


/**
 * 
 * @author prvoslav
 *
 * Demonstration of private class data pattern where using PrivateHolyKnight class we are unable to use all of the knight potential
 */
public class Main {

    public static void main(String[] args) {
	PrivateHolyKnight holyKnight = new PrivateHolyKnight(KnightWeapon.DOUBLE_SWORD);