package model.bodyPart; import java.awt.*; class InvisibleState extends ABodyState { public final static InvisibleState Singleton = new InvisibleState(); private InvisibleState() { } /** * Executes a visitor pattern algorithm that depends on the state of * the ABodyPart. * @param host * @param algo The algorithm to be executed. * @param inp An arbitrary input parameter for the algorithm * @return The return value of the algorithm. */ Object execute(INEBody host, IBodyAlgo algo, Object inp) { // TO DO: return null; } /** * Toggles the state of the ABodyPart. * @param host */ void toggleState(ABodyPart host) { // TO DO: } }