Merge object entity types into one.

This commit is contained in:
Major-
2014-03-08 10:11:15 +00:00
parent 12dec81473
commit 16fcf542cf
2 changed files with 3 additions and 8 deletions
+2 -7
View File
@@ -22,7 +22,7 @@ public abstract class Entity implements Serializable {
DROPPED_ITEM, DROPPED_ITEM,
/** /**
* A temporary object. * An object appearing in the game world.
*/ */
GAME_OBJECT, GAME_OBJECT,
@@ -39,12 +39,7 @@ public abstract class Entity implements Serializable {
/** /**
* A projectile (e.g. an arrow). * A projectile (e.g. an arrow).
*/ */
PROJECTILE, PROJECTILE;
/**
* A permanent object appearing on the map, loaded from the game resources.
*/
STATIC_OBJECT;
} }
/** /**
@@ -54,7 +54,7 @@ public final class StaticObject extends Entity {
@Override @Override
public EntityType getEntityType() { public EntityType getEntityType() {
return EntityType.STATIC_OBJECT; return EntityType.GAME_OBJECT;
} }
/** /**