Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/entityprojectile.h')
-rw-r--r--src/core/entityprojectile.h19
1 files changed, 17 insertions, 2 deletions
diff --git a/src/core/entityprojectile.h b/src/core/entityprojectile.h
index 6bbcdfd..cfd534b 100644
--- a/src/core/entityprojectile.h
+++ b/src/core/entityprojectile.h
@@ -65,13 +65,21 @@ public:
}
/**
- * @brief return the projectile modelname
+ * @brief return the projectile model name
* */
inline const std::string & projectile_modelname() const
{
return projectile_modelname_str;
}
+ /**
+ * @brief return the projectile sound name
+ * */
+ inline const std::string & projectile_soundname() const
+ {
+ return projectile_soundname_str;
+ }
+
/*----- serializers ----------------------------------------------- */
/**
@@ -124,10 +132,15 @@ public:
}
/**
- * @brief set the projectile modelname
+ * @brief set the projectile model name
* */
void set_projectile_modelname(const std::string modelname);
+ /**
+ * @brief set the projectile sound name
+ * */
+ void set_projectile_soundname(const std::string soundname);
+
private:
unsigned long projectile_timestamp;
@@ -135,6 +148,8 @@ private:
std::string projectile_modelname_str;
+ std::string projectile_soundname_str;
+
float projectile_damage;
unsigned int projectile_ownerid;