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/slot.cc')
-rw-r--r--src/core/slot.cc35
1 files changed, 0 insertions, 35 deletions
diff --git a/src/core/slot.cc b/src/core/slot.cc
index e1ccd05..e842f78 100644
--- a/src/core/slot.cc
+++ b/src/core/slot.cc
@@ -17,11 +17,6 @@ Slot::Slot()
slot_flags = 0;
slot_timestamp = 0;
slot_last_fired = 0;
-
- slot_projectile_interval = 0;;
- slot_projectile_lifespan = 0;
- slot_projectile_speed = 0.0f;
- slot_projectile_damage = 0.0f;
}
Slot::~Slot()
@@ -40,36 +35,6 @@ void Slot::unset_flag(const Flags flag)
set_timestamp(game() ? game()->timestamp() : 1);
}
-void Slot::set_projectile_speed(const float projectile_speed)
-{
- slot_projectile_speed = projectile_speed;
- set_timestamp(game() ? game()->timestamp() : 1);
-}
-
-void Slot::set_projectile_interval(unsigned long projectile_interval)
-{
- slot_projectile_interval = projectile_interval;
- set_timestamp(game() ? game()->timestamp() : 1);
-}
-
-void Slot::set_projectile_lifespan(unsigned long projectile_lifespan)
-{
- slot_projectile_lifespan = projectile_lifespan;
- set_timestamp(game() ? game()->timestamp() : 1);
-}
-
-void Slot::set_projectile_damage(const float projectile_damage)
-{
- slot_projectile_damage = projectile_damage;
- set_timestamp(game() ? game()->timestamp() : 1);
-}
-
-void Slot::set_projectile_modelname(const std::string & projectile_modelname)
-{
- slot_projectile_modelname.assign(projectile_modelname);
- set_timestamp(game() ? game()->timestamp() : 1);
-}
-
void Slot::set_item(Item *item)
{
slot_item = item;