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.
22 lines
313 B
22 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();
|
|
|
|
}
|
|
|