monster #20
@@ -98,9 +98,6 @@ public class Troll extends Monster implements CanMove, CanAttack {
|
||||
if (isDead()) {
|
||||
return false;
|
||||
}
|
||||
if (playerIsAtPosition(destination, world)) {
|
||||
return false;
|
||||
}
|
||||
if (tileHasWrongHabitat(destination, world)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -9,7 +9,6 @@ import static org.hamcrest.MatcherAssert.*;
|
||||
import static org.hamcrest.Matchers.*;
|
||||
import static org.mockito.Mockito.*;
|
||||
|
||||
|
||||
public class MonsterTest {
|
||||
|
||||
private Shade defaultShade;
|
||||
|
||||
Reference in New Issue
Block a user