monster #20

Merged
viud3133 merged 39 commits from monster into equipments 2025-10-30 12:05:40 +01:00
2 changed files with 0 additions and 4 deletions
Showing only changes of commit 446997ddbf - Show all commits

View File

@@ -98,9 +98,6 @@ public class Troll extends Monster implements CanMove, CanAttack {
if (isDead()) { if (isDead()) {
return false; return false;
} }
if (playerIsAtPosition(destination, world)) {
return false;
}
if (tileHasWrongHabitat(destination, world)) { if (tileHasWrongHabitat(destination, world)) {
return false; return false;
} }

View File

@@ -9,7 +9,6 @@ import static org.hamcrest.MatcherAssert.*;
import static org.hamcrest.Matchers.*; import static org.hamcrest.Matchers.*;
import static org.mockito.Mockito.*; import static org.mockito.Mockito.*;
public class MonsterTest { public class MonsterTest {
private Shade defaultShade; private Shade defaultShade;