2024-10-14 10:46:34 +02:00

17 lines
347 B
Java

package lab7_state.ex2.states;
import lab7_state.ex2.User;
import lab7_state.ex2.UserState;
public class RegisteredState extends UserState {
public RegisteredState(User user) {
super(user);
}
@Override
public void enter() {
user.setCurrentState(user.getInMeetingState());
log("Entered meeting");
}
}