예제 #1
0
 public TurretData(TurretData p_otherData)
 {
     m_id                = p_otherData.m_id;
     m_turretName        = p_otherData.m_turretName;
     m_turretDescription = p_otherData.m_turretDescription;
     m_turretStats       = p_otherData.m_turretStats;
     m_turretPrefab      = p_otherData.m_turretPrefab;
     m_turretIcons       = p_otherData.m_turretIcons;
     m_cost              = p_otherData.m_cost;
 }
예제 #2
0
 public TurretData(int p_id, float p_cost, string p_turretName, string p_turretDescription, Stats p_stats, GameObject p_turretPrefab, SpriteState p_turretIcons)
 {
     m_id                = p_id;
     m_turretName        = p_turretName;
     m_turretDescription = p_turretDescription;
     m_turretStats       = p_stats;
     m_turretPrefab      = p_turretPrefab;
     m_turretIcons       = p_turretIcons;
     m_cost              = p_cost;
 }