diff --git a/cicaprojekt/Stargate.java b/cicaprojekt/Stargate.java index 5c3e578..c365dc7 100644 --- a/cicaprojekt/Stargate.java +++ b/cicaprojekt/Stargate.java @@ -2,9 +2,11 @@ package cicaprojekt; public class Stargate { private boolean isSpawned; - + public static final Stargate yellowStargate = new Stargate(); public static final Stargate blueStargate = new Stargate(); + public static final Stargate redStargate = new Stargate(); + public static final Stargate greenStargate = new Stargate(); public /*final*/ Stargate other; //TODO find better ways to do this private Wall currentWall; @@ -13,6 +15,8 @@ public class Stargate { public static void init() { yellowStargate.other = blueStargate; blueStargate.other = yellowStargate; + redStargate.other = greenStargate; + greenStargate.other = redStargate; } public Wall getCurrentWall() {