예제 #1
0
파일: Actor.cs 프로젝트: nemec/4Realms
 internal Actor(Animation anim)
 {
     Animations.Add(anim);
 }
예제 #2
0
파일: Level.cs 프로젝트: nemec/4Realms
 internal void AddAnimation(Animation anim)
 {
     mAnims[anim.Name] = anim;
 }
예제 #3
0
파일: Level.cs 프로젝트: nemec/4Realms
 internal void RemoveAnimation(Animation anim)
 {
     try
     {
         mAnims.Remove(anim.Name);
     }
     catch (Exception e)
     {
         Console.WriteLine(e.GetBaseException().Message);
     }
 }
 internal void RemoveAnimation(Animation anim)
 {
     if (mAnims.ContainsKey(anim.Name))
     {
         mAnims.Remove(anim.Name);
     }
 }