mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-04 00:38:11 +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,
|
||||
|
||||
/**
|
||||
* A temporary object.
|
||||
* An object appearing in the game world.
|
||||
*/
|
||||
GAME_OBJECT,
|
||||
|
||||
@@ -39,12 +39,7 @@ public abstract class Entity implements Serializable {
|
||||
/**
|
||||
* A projectile (e.g. an arrow).
|
||||
*/
|
||||
PROJECTILE,
|
||||
|
||||
/**
|
||||
* A permanent object appearing on the map, loaded from the game resources.
|
||||
*/
|
||||
STATIC_OBJECT;
|
||||
PROJECTILE;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -54,7 +54,7 @@ public final class StaticObject extends Entity {
|
||||
|
||||
@Override
|
||||
public EntityType getEntityType() {
|
||||
return EntityType.STATIC_OBJECT;
|
||||
return EntityType.GAME_OBJECT;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user