Removed unneeded 'cicaprojekt.'-s from the project
This commit is contained in:
parent
b32fec8c52
commit
794378a919
@ -1,6 +1,6 @@
|
||||
package cicaprojekt;
|
||||
|
||||
public class Box implements cicaprojekt.Pickable, cicaprojekt.Destroyable
|
||||
public class Box implements Pickable, Destroyable
|
||||
{
|
||||
private int weight = 5;
|
||||
|
||||
|
@ -3,7 +3,7 @@ package cicaprojekt;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
public class Field extends cicaprojekt.Tile
|
||||
public class Field extends Tile
|
||||
{
|
||||
public static Map<Direction, Tile> testAdjacentTile = new HashMap<Direction, Tile>();
|
||||
public static Field testField = new Field();
|
||||
@ -28,7 +28,7 @@ public class Field extends cicaprojekt.Tile
|
||||
}
|
||||
|
||||
@Override
|
||||
public void spawnStargate(cicaprojekt.Stargate stargate, Direction direction) {
|
||||
public void spawnStargate(Stargate stargate, Direction direction) {
|
||||
if (recursionLimit++ >= 10)
|
||||
this.adjacentTile.put(direction, new Wall());
|
||||
adjacentTile.get(direction).spawnStargate(stargate, direction);
|
||||
|
@ -1,9 +1,9 @@
|
||||
package cicaprojekt;
|
||||
|
||||
public class Gap extends cicaprojekt.Tile
|
||||
public class Gap extends Tile
|
||||
{
|
||||
@Override
|
||||
public void spawnStargate(cicaprojekt.Stargate stargate, Direction direction) {
|
||||
public void spawnStargate(Stargate stargate, Direction direction) {
|
||||
adjacentTile.get(direction).spawnStargate(stargate, direction);
|
||||
}
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
package cicaprojekt;
|
||||
|
||||
public class Gate extends cicaprojekt.Tile
|
||||
public class Gate extends Tile
|
||||
{
|
||||
private boolean open = false;
|
||||
|
||||
|
||||
public void spawnStargate(cicaprojekt.Stargate stargate, Direction direction) {
|
||||
public void spawnStargate(Stargate stargate, Direction direction) {
|
||||
if(this.open) adjacentTile.get(direction).spawnStargate(stargate, direction);
|
||||
}
|
||||
|
||||
|
@ -37,7 +37,7 @@ public class Scale extends Field {
|
||||
stackChanged();
|
||||
}
|
||||
|
||||
public void spawnStargate(cicaprojekt.Stargate stargate, Direction direction) {
|
||||
public void spawnStargate(Stargate stargate, Direction direction) {
|
||||
adjacentTile.get(direction).spawnStargate(stargate, direction);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user