예제 #1
0
        public Burden GetComponentBurden(ScopedLifestyleManager id)
        {
            Burden burden;

            cache.TryGetValue(id, out burden);
            return(burden);
        }
예제 #2
0
 public bool HasComponent(ScopedLifestyleManager id)
 {
     return(cache.ContainsKey(id));
 }
예제 #3
0
 public void AddComponent(ScopedLifestyleManager id, Burden componentBurden)
 {
     cache.Add(id, componentBurden);
 }
예제 #4
0
		public bool HasComponent(ScopedLifestyleManager id)
		{
			return cache.ContainsKey(id);
		}
예제 #5
0
		public Burden GetComponentBurden(ScopedLifestyleManager id)
		{
			Burden burden;
			cache.TryGetValue(id, out burden);
			return burden;
		}
예제 #6
0
		public void AddComponent(ScopedLifestyleManager id, Burden componentBurden)
		{
			cache.Add(id, componentBurden);
		}