Rogue: Savage Rats, a retro-themed dungeon crawler
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rogue-savage-rats/src/mightypork/rogue/world/MapObserver.java

23 lines
313 B

package mightypork.rogue.world;
/**
* Player observing a map represented by an observer.
*
* @author MightyPork
*/
public interface MapObserver {
/**
* @return observer's position
*/
public WorldPos getPosition();
/**
* @return observed range (in tiles)
*/
public int getViewRange();
}