Esempio n. 1
0
 // Called first time when starting a new session
 public void InitPlayer(Player player)
 {
     Debug.Assert(FieldPlayer == null, "Not allowed to reinitialize player.");
     FieldManager     = fieldManagerFactory.GetManager(player.MapId);
     this.FieldPlayer = FieldManager.RequestFieldObject(player);
 }