diff options
Diffstat (limited to 'source/game/StarItemDrop.hpp')
-rw-r--r-- | source/game/StarItemDrop.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/game/StarItemDrop.hpp b/source/game/StarItemDrop.hpp index d88da73..e72878c 100644 --- a/source/game/StarItemDrop.hpp +++ b/source/game/StarItemDrop.hpp @@ -23,8 +23,8 @@ public: // Create a drop and throw in the given direction with a hard-coded initial // throw velocity (unrelated to magnitude of direction, direction is // normalized first). Initially intangible for 1 second. - static ItemDropPtr throwDrop(ItemPtr const& item, Vec2F const& position, Vec2F const& direction, bool eternal = false); - static ItemDropPtr throwDrop(ItemDescriptor const& itemDescriptor, Vec2F const& position, Vec2F const& direction, bool eternal = false); + static ItemDropPtr throwDrop(ItemPtr const& item, Vec2F const& position, Vec2F const& velocity, Vec2F const& direction, bool eternal = false); + static ItemDropPtr throwDrop(ItemDescriptor const& itemDescriptor, Vec2F const& position, Vec2F const& velocity, Vec2F const& direction, bool eternal = false); ItemDrop(ItemPtr item); ItemDrop(Json const& diskStore); |