@Override public void notifyListener(ModelListener listener, CurseOfMalphamondModelImpl model) { listener.characterChanged( model.getCurrentActivePlayer().getCharacter(), model.getCurrentActivePlayer().getUsername(), model.getCurrentActivePlayer().getUsername() + this.getDescription()); // listener.characterChanged(model.getCurrentActivePlayer().getCharacter(), // model.getCurrentActivePlayer().getUsername(), null); }
@Override public void play(CurseOfMalphamondModelImpl model, int choice) { (new MoveNumTilesAction(4, model.getCurrentActivePlayer())).act(); }