package dungeonmania.entities;
import dungeonmania.map.GameMap;
import dungeonmania.entities.enemies.Spider;
Copyright By PowCoder代写 加微信 powcoder
import dungeonmania.util.Position;
public class Wall extends Entity {
public Wall(Position position) {
super(position.asLayer(Entity.CHARACTER_LAYER));
public boolean canMoveOnto(GameMap map, Entity entity) {
return entity instanceof Spider;
public void onOverlap(GameMap map, Entity entity) {
public void onMovedAway(GameMap map, Entity entity) {
public void onDestroy(GameMap gameMap) {
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com