Пример #1
0
 public bool AddInputConfig(Player player, InputConfig config)
 {
     if (inputConfigs.ContainsKey(player))
     {
         return(false);
     }
     inputConfigs.Add(player, config);
     return(true);
 }
Пример #2
0
 public bool SetInputConfig(Player player, InputConfig config)
 {
     if (!inputConfigs.ContainsKey(player))
     {
         return(false);
     }
     inputConfigs[player] = config;
     return(true);
 }
Пример #3
0
 public bool AddInputConfig(Player player, InputConfig config)
 {
     if (inputConfigs.ContainsKey(player)) return false;
     inputConfigs.Add(player, config);
     return true;
 }
Пример #4
0
 public bool SetInputConfig(Player player, InputConfig config)
 {
     if (!inputConfigs.ContainsKey(player)) return false;
     inputConfigs[player] = config;
     return true;
 }