Exemple #1
0
 protected override void UpdateFrameInternal()
 {
     MapLoc = AnimLoc * GraphicsManager.TileSize;
     if (ActionTime.FractionOf(2, ANIM_TIME) % 2 == 0)
     {
         drawOffset = drawOffset + CharDir.Reverse().GetLoc();
     }
 }
Exemple #2
0
 protected override void UpdateFrameInternal()
 {
     if (ActionTime.DivOf(10) % 2 == 0)
     {
         drawOffset = drawOffset + CharDir.Reverse().GetLoc();
     }
     if (ActionTime.FractionOf(4, AnimTime) > 0)
     {
         opacity = 128;
     }
     MapLoc = AnimLoc * GraphicsManager.TileSize;
 }