Example #1
0
 public void AddChest(Chest chest)
 {
     if (chest != null)
     {
         chest.AssignPoint(this);
     }
     this._chest = chest;
 }
Example #2
0
 public void AssignChest(Chest chest)
 {
     if (chest.point == this.currentPoint)
     {
         chest.AssignPoint(null);
         this._chest = chest;
         _chest.Move(this._x, this._y + 1, this._z);
         needsUpdate = true;
     }
 }
Example #3
0
 public void AddChest(Chest chest)
 {
     _chests.Add(chest);
     chest.AssignPoint(null);
     chest.Move(this.x, this.y + 0.2m, this.z);
 }