Example #1
0
 public void LoadItemPic()
 {
     if (itemPic == null)
     {
         itemPic = new BalloonItemPic();
     }
     itemPic.Init(Global.GetXmlManager().itemPics, path);
 }
Example #2
0
 public void Clear()
 {
     if (itemPic != null)
     {
         itemPic.Clear();
     }
     itemPic = null;
     if (pic != null)
     {
         pic.Clear();
     }
     pic = null;
 }
Example #3
0
 public void OnCreate()
 {
     path    = GlobalB.GetRootPath() + "\\";
     itemPic = new BalloonItemPic();
     pic     = new BalloonPic();
 }