Newer
Older
GeneratedDesignPatternsByDTRAM / DTRAM / src / bridge / SoulEatingEnchantment.java
Okina on 20 Jul 2022 435 bytes upload bridge
package bridge;

import java.util.*;

public class SoulEatingEnchantment {
	private String sword = "sword";
	private String hammer = "hammer";
	private String value = "TheItemSpreadsBloodlust.";
	public void updateSword(String sword) {
		this.sword = sword;
		value = this.value;
	}
	public void updateHammer(String hammer) {
		this.hammer = hammer;
		value = this.value;
	}
	public String getValue() {
		return new String(value);
	}
}