Made getGameType() public.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@183 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -128,6 +128,14 @@ public abstract class GameController extends PlaceController
|
|||||||
_gobj = null;
|
_gobj = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Convenience method to determine the type of game.
|
||||||
|
*/
|
||||||
|
public byte getGameType ()
|
||||||
|
{
|
||||||
|
return _config.getGameType();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns whether the game is over.
|
* Returns whether the game is over.
|
||||||
*/
|
*/
|
||||||
@@ -303,14 +311,6 @@ public abstract class GameController extends PlaceController
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Convenience method to determine the type of game.
|
|
||||||
*/
|
|
||||||
protected byte getGameType ()
|
|
||||||
{
|
|
||||||
return _config.getGameType();
|
|
||||||
}
|
|
||||||
|
|
||||||
/** A reference to the active parlor context. */
|
/** A reference to the active parlor context. */
|
||||||
protected ParlorContext _ctx;
|
protected ParlorContext _ctx;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user