예제 #1
0
        public static void RemoveLevelAnim(LevelAnim item)
        {
            LevelData.levelAnims.Remove(item);

            changes.Push("Remove level animation");
            InvalidateRenderState();
        }
예제 #2
0
        public static void AddLevelAnim(LevelAnim item)
        {
            LevelData.levelAnims.Add(item);

            changes.Push("Add level animation");
            InvalidateRenderState();
        }
예제 #3
0
 public static int GetIndexOfItem(LevelAnim item)
 {
     if (levelAnims.Contains(item))
     {
         return(levelAnims.IndexOf(item));
     }
     else
     {
         return(-1);
     }
 }