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

import java.util.*;

public class FlyingEnchantment {
	private String sword = "sword";
	private String hammer = "hammer";
	private String value = "TheItemBeginsToGlowFaintly.";
	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);
	}
}