Example #1
0
 // TODO: Move this to a different location.
 // It would be better if this didn't access SceneData.
 public void GetUsedItemDesc()
 {
     foreach (ItemDescLoader ItemDesc in SceneData.ItemDescs)
     {
         if (ItemDesc.frameRef == _Hash)
         {
             this.ItemDesc = ItemDesc;
             break;
         }
     }
 }
Example #2
0
 public FrameObjectCollision(FrameObjectCollision other) : base(other)
 {
     _Hash    = other._Hash;
     ItemDesc = other.ItemDesc;
 }
Example #3
0
 public FrameObjectCollision() : base()
 {
     _Hash    = 0;
     ItemDesc = null;
 }