package dungeonmania.entities;
import dungeonmania.map.GameMap;
import dungeonmania.util.Position;
Copyright By PowCoder代写 加微信 powcoder
public class Exit extends Entity {
public Exit(Position position) {
super(position.asLayer(Entity.ITEM_LAYER));
public boolean canMoveOnto(GameMap map, Entity entity) {
return true;
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