Ejemplo n.º 1
0
        protected override void DumpNode(DLink node)
        {
            Debug.Assert(node != null);
            Sprite pSprite = (Sprite)node;

            Debug.WriteLine(String.Format("\t\tSprite:{0}({1})", pSprite.name.ToString(), pSprite.GetHashCode()));
            Debug.WriteLine(String.Format("\t\tColor:({0},{1},{2})", pSprite.pColor.red, pSprite.pColor.green, pSprite.pColor.blue));
            Debug.WriteLine(String.Format("\t\tImage:{0}", pSprite.pImage.name.ToString()));
            Debug.WriteLine(String.Format("\t\tAngle:{0}", pSprite.angle));
            Debug.WriteLine(String.Format("\t\tstatus:{0}", pSprite.status));
        }