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.
23 lines
313 B
23 lines
313 B
11 years ago
|
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();
|
||
|
|
||
|
}
|