public void ReloadGCDB(GameContentDataBase gcdb) { if (magicCircleID == -1) { if (gcdb.gameMagicCircleAnimations.Count != 0) { magicCircleID = gcdb.gameMagicCircleAnimations[0].magicCircleBaseID; ReloadGCDB(gcdb); } } else { mcb = gcdb.gameMagicCircleAnimations.Find(cb => cb.magicCircleBaseID == magicCircleID).Clone(); mcb.frameInterval = magicCircleTimer; } }
public void AddMagicCircle(MagicCircleBase ma) { ma.magicCircleBaseID = magicCircleIDLatest; magicCircleIDLatest++; gameMagicCircleAnimations.Add(ma); }