net.sf.magicproject.network
Class Synchronizer

java.lang.Object
  extended by net.sf.magicproject.network.Synchronizer

public final class Synchronizer
extends java.lang.Object

Author:
Fabrice Daugan

Method Summary
static void setAsHanded()
          Indicate that your are the handed player, also your opponent is listening for your actions
static void waitOpponent()
          Indicate that the you have no more the hand, so we're listening for new messages from your opponent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

waitOpponent

public static void waitOpponent()
Indicate that the you have no more the hand, so we're listening for new messages from your opponent


setAsHanded

public static void setAsHanded()
Indicate that your are the handed player, also your opponent is listening for your actions



Copyright © 2003-2007 Magic-Project. All Rights Reserved.