示例#1
0
 @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);
 }
示例#2
0
 @Override
 public void play(CurseOfMalphamondModelImpl model, int choice) {
   (new MoveNumTilesAction(4, model.getCurrentActivePlayer())).act();
 }