Ejemplo n.º 1
0
 public void Distroy()
 {
     myBag = null; // removes Bag
 }
Ejemplo n.º 2
0
 public GameObject(int objectid)
 {
     myBag          = new Bag(); // Creates new instance of Bag
     myBag.objectid = objectid;  // adds objectid to Bag property
 }