package soldat; /* * Created on 8 dŽc. 2004 * */ /** * @author baudon * */ public class Bouclier { private Bouclier() { } public static void decore(Soldat s, int vie) { SoldatProxy proxy = (SoldatProxy) s; proxy.impl = new SoldatAvecBouclier(proxy.impl, vie); } }