public static void DumpAnimNodes() { AnimMan pANodeMan = AnimMan.PrivGetInstance(); Debug.Assert(pANodeMan != null); pANodeMan.BaseDumpNodes(); }
public static AnimNode Attach(Animation pAnimation) { AnimMan pANodeMan = AnimMan.PrivGetInstance(); Debug.Assert(pANodeMan != null); AnimNode pNode = (AnimNode)pANodeMan.BaseAdd(); Debug.Assert(pNode != null); pNode.Set(pAnimation); return(pNode); }
public static Animation Find(Animation.Name name) { AnimMan pANodeMan = AnimMan.PrivGetInstance(); Debug.Assert(pANodeMan != null); pANodeMan.poAnimNodeCompare.poAnimation.SetName(name); AnimNode pANode = (AnimNode)pANodeMan.BaseFind(pANodeMan.poAnimNodeCompare); Debug.Assert(pANode != null); return(pANode.poAnimation); }
public static void Destroy() { AnimMan pANodeMan = AnimMan.PrivGetInstance(); Debug.Assert(pANodeMan != null); #if (TRACK_DESTRUCTOR_MAN) Debug.WriteLine("AnimMan.Destroy()"); #endif pANodeMan.BaseDestroy(); #if (TRACK_DESTRUCTOR_MAN) Debug.WriteLine("{0} ({1})", pANodeMan.poAnimNodeCompare, pANodeMan.poAnimNodeCompare.GetHashCode()); Debug.WriteLine("{0} ({1})", AnimMan.pInstance, AnimMan.pInstance.GetHashCode()); #endif pANodeMan.poAnimNodeCompare = null; pANodeMan.poNullAnim = null; AnimMan.pInstance = null; }