Пример #1
0
 /// <summary> GamePadIDをGamePadRawIDに変換 </summary>
 public static GamePadRaw ToRawID(this Player playerID) => IdConverter.ToRawID(IdConverter.ToGamePadID(playerID));
Пример #2
0
 /// <summary> PlayerIDをGamePadRawIDに変換 </summary>
 public static GamePadRaw ToRawID(this GamePad gpID) => IdConverter.ToRawID(gpID);
Пример #3
0
        // public static bool In(this Player own, params Player[] others) {
        //     return others.Contains(own);
        // }

        /// <summary> PlayerIDをGamePadIDに変換 </summary>
        public static GamePad ToGPID(this Player playerID) => IdConverter.ToGamePadID(playerID);