Ejemplo n.º 1
0
        public static BoxSprite Add(BoxSprite.Name name, float x, float y, float width, float height, Azul.Color pColor = null)
        {
            BoxSpriteMan pBSMan = BoxSpriteMan.PrivGetInstance();

            Debug.Assert(pBSMan != null);

            BoxSprite pBSnode = (BoxSprite)pBSMan.BaseAdd();

            Debug.Assert(pBSnode != null);

            pBSnode.Set(name, x, y, width, height, pColor);
            return(pBSnode);
        }