added some API for entities

This commit is contained in:
Tahg
2011-04-04 00:44:52 -04:00
parent 5a85c95c24
commit 1723111b36
5 changed files with 84 additions and 0 deletions

View File

@@ -156,4 +156,17 @@ public interface Entity {
* @return
*/
public abstract boolean eject();
/**
* Returns the distance this entity has fallen
* @return
*/
public float getFallDistance();
/**
* Sets the fall distance for this entity
* @param distance
*/
public void setFallDistance(float distance);
}