diff --git a/src/main/java/uulm/teamname/marvelous/gamelibrary/Tuple.java b/src/main/java/uulm/teamname/marvelous/gamelibrary/Tuple.java index 039028f..ee66660 100644 --- a/src/main/java/uulm/teamname/marvelous/gamelibrary/Tuple.java +++ b/src/main/java/uulm/teamname/marvelous/gamelibrary/Tuple.java @@ -10,4 +10,8 @@ public class Tuple { this.item1 = item1; this.item2 = item2; } + + public static Tuple of(X x, Y y) { + return new Tuple(x, y); + } }