public int GetKitCooldown(Kit k) { if (cooldowns.ContainsKey(k.name)) { var when = cooldowns[k.name]; return k.cooldown - (int)(DateTime.Now - when).TotalSeconds; } return 0; }
public void AddItem( Kit k ) { kits.Add( k ); }