Added red and green Stargates
This commit is contained in:
parent
708ad09c5e
commit
c6a0b984eb
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user