Rename StaticObjectDecoder to GameObjectDecoder.

This commit is contained in:
Major-
2014-08-07 21:23:39 +01:00
parent 7dab24a64d
commit a863d8ea71
2 changed files with 4 additions and 4 deletions
@@ -18,7 +18,7 @@ import org.apollo.util.CompressionUtil;
*
* @author Chris Fletcher
*/
public final class StaticObjectDecoder {
public final class GameObjectDecoder {
/**
* The {@link IndexedFileSystem}.
@@ -30,7 +30,7 @@ public final class StaticObjectDecoder {
*
* @param fs The indexed file system.
*/
public StaticObjectDecoder(IndexedFileSystem fs) {
public GameObjectDecoder(IndexedFileSystem fs) {
this.fs = fs;
}
+2 -2
View File
@@ -13,7 +13,7 @@ import org.apollo.fs.IndexedFileSystem;
import org.apollo.fs.decoder.ItemDefinitionDecoder;
import org.apollo.fs.decoder.NpcDefinitionDecoder;
import org.apollo.fs.decoder.ObjectDefinitionDecoder;
import org.apollo.fs.decoder.StaticObjectDecoder;
import org.apollo.fs.decoder.GameObjectDecoder;
import org.apollo.game.command.CommandDispatcher;
import org.apollo.game.login.LoginDispatcher;
import org.apollo.game.login.LogoutDispatcher;
@@ -260,7 +260,7 @@ public final class World {
ObjectDefinition.init(objDefs);
logger.info("Loaded " + objDefs.length + " object definitions.");
StaticObjectDecoder staticDecoder = new StaticObjectDecoder(fs);
GameObjectDecoder staticDecoder = new GameObjectDecoder(fs);
GameObject[] objects = staticDecoder.decode();
placeEntities(objects);
logger.info("Loaded " + objects.length + " static objects.");