Initial commit
Base files for the project were added. Update ONeill.java Update Box.java fixed everything, code now compiles correctly
This commit is contained in:
21
cicaprojekt/Wall.java
Normal file
21
cicaprojekt/Wall.java
Normal file
@ -0,0 +1,21 @@
|
||||
package cicaprojekt;
|
||||
|
||||
public class Wall extends Tile {
|
||||
|
||||
private Stargate sg;
|
||||
|
||||
public void spawnStargate(Stargate stargate, Direction direction) {
|
||||
if(sg == null)
|
||||
sg = stargate;
|
||||
else return;
|
||||
}
|
||||
|
||||
public void clearStargate(){
|
||||
sg = null;
|
||||
}
|
||||
|
||||
public void onEntry() { }
|
||||
|
||||
public void onExit() {}
|
||||
|
||||
}
|
Reference in New Issue
Block a user