public override void Wash()
 {
     this.x          = 0.0f;
     this.y          = 0.0f;
     this.name       = Name.Uninitialized;
     this.pBoxSprite = null;
 }
        public ProxyBoxSprite()
            : base()
        {
            this.name = ProxyBoxSprite.Name.Uninitialized;

            this.x = 0.0f;
            this.y = 0.0f;

            this.pBoxSprite = null;
        }
        public void Set(BoxSprite.Name name)
        {
            this.name = ProxyBoxSprite.Name.Proxy;

            this.x = 0.0f;
            this.y = 0.0f;

            this.pBoxSprite = BoxSpriteManager.Find(name);
            Debug.Assert(this.pBoxSprite != null);
        }
        public static ProxyBoxSprite Find(ProxyBoxSprite.Name name)
        {
            ProxyBoxSpriteManager pMan = ProxyBoxSpriteManager.PrivGetInstance();

            Debug.Assert(pMan != null);

            pMan.poCompareNode.name = name;

            ProxyBoxSprite pData = (ProxyBoxSprite)pMan.BaseFind(pMan.poCompareNode);

            Debug.Assert(pData != null);
            return(pData);
        }
 public void SetName(Name inName)
 {
     this.name = inName;
 }