private void PaintShirtsUp(AbsPlayer player, Point point) { foreach (var card in player.Hand) { graphics.DrawImage(bitmaps["рубашка.jpg"], point); point.X += 15; } }
//選角呼叫 public void AddNewPlayer(int deviceID) { if (!IsPlayerExist(deviceID)) { Debug.Log($"追加角色: {deviceID}"); PlayerData playerData = new PlayerData(deviceID); playerDataList.Add(playerData); AbsPlayer player = Instantiate(playerPrefab).GetComponent <AbsPlayer>(); player.SetData(playerData); players.Add(player); } }