Пример #1
0
 public Player(string playerName, float playerLatitude, float playerLongitude, string petName, float petPosX, float petPosY)
 {
     this.playerName = playerName;
     this.latitude   = playerLatitude;
     this.longitude  = playerLongitude;
     this.mapControl = new MapControllerServer();
     this.pet        = new Pet(petName, petPosX, petPosY);
     this.isActive   = true;
 }
Пример #2
0
 public void SetMapController(MapControllerServer mapControl)
 {
     this.mapControl = mapControl;
 }