Doodle Post
No Comments
class SortedDictionaryList<TKey, TValue> : SortedDictionary<TKey, List<TValue>> {
public SortedDictionaryList(IComparer<TKey> comparer) : base(comparer) { }
public SortedDictionaryList() { }
public bool HasItem(TKey key, TValue item) {
if (!ContainsKey(key))
return false;
else
return this[key].Contains(item);
}
public TKey FindKey(TValue item) {
foreach(var key in Keys)
if (this[key].Contains(item)) return key;
return default(TKey);
}
public void AddItem(TKey key, TValue item) {
if (!ContainsKey(key))
Add(key, new List<TValue>());
this[key].Add(item);
}
public void RemoveItem(TKey key, TValue item) {
this[key].Remove(item);
}
}
@WhoTweetedThis t.co/8onQ5sn82D
working on why drawing characters facing left vs facing right always feels like this t.co/s3leRnALN2
app where i sign up for van pelt from jumani 1995 to hunt me down with a tranquilizer gun loaded with the vaccine
RT @rathaelos: Did you know that you can animate things like this in @clipstudiopaint? #animation #gamedev #CLIPSTUDIOPAINT #Pixelart #ドット…
@Scree7ch is it advice? or is it a feeling? am i a bowling ball dreaming that i'm a plate of sashimi? never assume… t.co/9qIyvM5VZQ