public void Add(int artifactId) { // create the reference to the artifact game data var artifactReference = new PD_ArtifactReference(artifactId); // add the artifact to the storage m_artifactList.Add(artifactReference); }
public void Add(int artifactId) { // create the reference to the artifact game data var artifactReference = new PD_ArtifactReference(artifactId); // add the artifact to the storage m_artifactList.Add(artifactReference); // update the volume used m_volumeUsed += artifactReference.GetVolume(); }