|
@ -71,6 +71,12 @@ public class Cell { |
|
|
else if(type.equals("crystal")) { |
|
|
else if(type.equals("crystal")) { |
|
|
triggerCrystal(); |
|
|
triggerCrystal(); |
|
|
} |
|
|
} |
|
|
|
|
|
else if(type.equals("tpLeft")) { |
|
|
|
|
|
map.gameManager.teleportPlayer("tpRight"); |
|
|
|
|
|
} |
|
|
|
|
|
else if(type.equals("tpRight")) { |
|
|
|
|
|
map.gameManager.teleportPlayer("tpLeft"); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
else { |
|
|
else { |
|
|
//System.out.println("cell contains no item!"); |
|
|
//System.out.println("cell contains no item!"); |
|
|