package game;
import game.room.Room;
/** All objects in the game world MUST extend this class. */
public abstract class Entity {
/**
* @param room - the room.
* @param layer - the layer.
* @param row - the row.
* @param col - the column.
* @return whether or not this entity can be placed here.
*/
public abstract boolean validatePosition(final Room room, final int layer,
final int row, final int col);
}
|