コード例 #1
0
 public static void MakePlayer(string name, SolidColorBrush color, List<EnumAttacks> playerAttacks)
 {
     _thisPlayer = new Player(name, color, playerAttacks);
 }
コード例 #2
0
ファイル: Player.cs プロジェクト: JARVADAHUT/454-Game-Repo
 public static Player getInstance()
 {
     return _thisPlayer ?? (_thisPlayer = new Player());
 }