Decided to take the pain and refactor the parlor.game and parlor.turn

packages properly into client, data and server subpackages. This
eliminates a bunch of hackery I had to do to properly handle dead code
removal when building the Game Gardens client and games and it simplifies
things and sets a good example to follow the standard procedure as much as
possible.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3381 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2005-03-03 19:36:34 +00:00
parent c2e2661e66
commit dbbd8e955f
66 changed files with 145 additions and 111 deletions
@@ -27,7 +27,7 @@ import com.threerings.parlor.card.data.Card;
import com.threerings.parlor.card.data.CardCodes;
import com.threerings.parlor.card.data.Hand;
import com.threerings.parlor.game.GameController;
import com.threerings.parlor.game.client.GameController;
/**
* A controller class for card games. Handles common functions like
@@ -21,7 +21,7 @@
package com.threerings.parlor.card.data;
import com.threerings.parlor.game.GameObject;
import com.threerings.parlor.game.data.GameObject;
/**
* Game object class for card games.
@@ -32,7 +32,7 @@ import com.threerings.parlor.card.data.CardGameObject;
import com.threerings.parlor.card.data.Deck;
import com.threerings.parlor.card.data.Hand;
import com.threerings.parlor.game.GameManager;
import com.threerings.parlor.game.server.GameManager;
import com.threerings.presents.client.InvocationService.ConfirmListener;
import com.threerings.presents.data.ClientObject;
@@ -1,5 +1,5 @@
//
// $Id: TrickCardGameController.java,v 1.2 2004/10/15 00:14:23 andrzej Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -21,7 +21,7 @@
package com.threerings.parlor.card.trick;
import com.threerings.parlor.turn.TurnGameController;
import com.threerings.parlor.turn.client.TurnGameController;
/**
* A card game controller interface for trick-based card games, such as
@@ -21,7 +21,7 @@
package com.threerings.parlor.card.trick;
import com.threerings.parlor.turn.TurnGameControllerDelegate;
import com.threerings.parlor.turn.client.TurnGameControllerDelegate;
import com.threerings.presents.dobj.AttributeChangedEvent;
@@ -1,5 +1,5 @@
//
// $Id: TrickCardGameManager.java,v 1.2 2004/10/15 00:14:23 andrzej Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -21,7 +21,7 @@
package com.threerings.parlor.card.trick;
import com.threerings.parlor.turn.TurnGameManager;
import com.threerings.parlor.turn.server.TurnGameManager;
/**
* A card game manager interface for trick-based card games, such as
@@ -23,9 +23,9 @@ package com.threerings.parlor.card.trick;
import com.threerings.crowd.data.PlaceObject;
import com.threerings.parlor.game.GameManager;
import com.threerings.parlor.game.server.GameManager;
import com.threerings.parlor.turn.TurnGameManagerDelegate;
import com.threerings.parlor.turn.server.TurnGameManagerDelegate;
/**
* A card game manager delegate for trick-based card games, such as
@@ -1,5 +1,5 @@
//
// $Id: TrickCardGameObject.java,v 1.2 2004/10/15 00:14:23 andrzej Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -21,7 +21,7 @@
package com.threerings.parlor.card.trick;
import com.threerings.parlor.turn.TurnGameObject;
import com.threerings.parlor.turn.data.TurnGameObject;
/**
* Game objects for trick-based card games must implement this interface.