mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 08:39:11 +00:00
Rename StaticObjectDecoder to GameObjectDecoder.
This commit is contained in:
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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.");
|
||||
|
||||
Reference in New Issue
Block a user