/** * New set finished event. * * @param set the set * @param winner the winner * @param game the game * @return the sets the event */ public static SetEvent newSetFinishedEvent(ISet set, IPlayer winner, IGame game) { SetEvent result = new SetEvent(SetEventType.SET_FINISHED, set); result.player = winner; result.game = game; return result; }