private void Init()
 {
     Animations = new JsDictionary<int, TileAnimation>();
     for (int animatedTileIndex = 0; animatedTileIndex < SonicManager.SonicLevel.TileAnimations.Count; animatedTileIndex++)
     {
         Animations[animatedTileIndex] = new TileAnimation(this, SonicManager.SonicLevel.TileAnimations[animatedTileIndex]);
         Animations[animatedTileIndex].Init();
     }
 }
 public TileAnimationFrame(int frameIndex, TileAnimation animation)
 {
     Animation = animation;
     FrameIndex = frameIndex;
 }