mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-07 16:49:12 +00:00
Merge object entity types into one.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user