cleaned up formatting:
- removed trailing whitespace - changed all leading whitespace to tabs - removed IDE created author comments
This commit is contained in:
@@ -37,7 +37,7 @@ public class GoldenKey extends Key {
|
||||
|
||||
@Override
|
||||
public String info() {
|
||||
return
|
||||
return
|
||||
"The notches on this golden key are tiny and intricate. " +
|
||||
"Maybe it can open some chest lock?";
|
||||
}
|
||||
|
||||
@@ -52,12 +52,12 @@ public class IronKey extends Key {
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDetach( ) {
|
||||
if (depth == Dungeon.depth) {
|
||||
Dungeon.hero.belongings.countIronKeys();
|
||||
}
|
||||
}
|
||||
@Override
|
||||
public void onDetach( ) {
|
||||
if (depth == Dungeon.depth) {
|
||||
Dungeon.hero.belongings.countIronKeys();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
@@ -66,7 +66,7 @@ public class IronKey extends Key {
|
||||
|
||||
@Override
|
||||
public String info() {
|
||||
return
|
||||
return
|
||||
"The notches on this ancient iron key are well worn; its leather lanyard " +
|
||||
"is battered by age. What door might it open?";
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ public class SkeletonKey extends Key {
|
||||
|
||||
@Override
|
||||
public String info() {
|
||||
return
|
||||
return
|
||||
"This key looks serious: its head is shaped like a skull. Probably it can open some serious door.";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user