コード例 #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;
         }
     }
 }
コード例 #2
0
 public FrameObjectCollision(FrameObjectCollision other) : base(other)
 {
     _Hash    = other._Hash;
     ItemDesc = other.ItemDesc;
 }
コード例 #3
0
 public FrameObjectCollision() : base()
 {
     _Hash    = 0;
     ItemDesc = null;
 }