To preserve backwards compatibility, GameManager cannot define
createPlaceObject() because it needs to fall back to PlaceManager's createPlaceObject() which calls getPlaceObjectClass() which all GG games currently use. It doesn't really make sense for GameManager to implement that method anyway because no one will ever just use a GameObject, they'll need some sort of derivation if they want to have any game state at all. Really that method should be abstract in PlaceManager and GameManager but I'm not sure we could change that now without breaking things (certainly we couldn't preserve backwards compability which renders the idea moot anyway). git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@59 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -485,12 +485,6 @@ public class GameManager extends PlaceManager
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// documentation inherited
|
|
||||||
protected PlaceObject createPlaceObject ()
|
|
||||||
{
|
|
||||||
return new GameObject();
|
|
||||||
}
|
|
||||||
|
|
||||||
// documentation inherited
|
// documentation inherited
|
||||||
protected void didStartup ()
|
protected void didStartup ()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user