Example #1
0
 public ClientController()
 {
     //Default behaviour is without callback
     netAdaptor = new ClientNetworkAdaptor(false);
     netAdaptor.OnUpdateFromServer += new ClientNetworkAdaptor.OnUpdate(netAdaptor_OnUpdateFromServer);
 }
Example #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 public ClientController(bool GetCallBack)
 {
     netAdaptor = new ClientNetworkAdaptor(GetCallBack);
     netAdaptor.OnUpdateFromServer += new ClientNetworkAdaptor.OnUpdate(netAdaptor_OnUpdateFromServer);
 }