Ejemplo n.º 1
0
 public MovingEffectView(MovingEffect effect)
     : base(effect)
 {
     m_Animated = true;
     m_Animated = UltimaData.TileData.ItemData[Effect.ItemID & 0x3fff].IsAnimation;
     if (m_Animated)
     {
         m_AnimData = AnimData.GetAnimData(Effect.ItemID & 0x3fff);
         m_Animated = m_AnimData.FrameCount > 0;
     }
 }
Ejemplo n.º 2
0
 public AnimatedItemEffectView(AnimatedItemEffect effect)
     : base(effect)
 {
     m_Animated = true;
     m_AnimData = AnimData.GetAnimData(Effect.ItemID & 0x3fff);
 }