diff options
Diffstat (limited to 'src/core/slot.cc')
-rw-r--r-- | src/core/slot.cc | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/core/slot.cc b/src/core/slot.cc new file mode 100644 index 0000000..1b3e648 --- /dev/null +++ b/src/core/slot.cc @@ -0,0 +1,33 @@ +/* + core/slot.cc + This file is part of the Osirion project and is distributed under + the terms of the GNU General Public License version 2. +*/ + +#include "core/slot.h" +#include "core/item.h" + +namespace core +{ + +Slot::Slot() +{ + slot_item = 0; +} + +Slot::Slot(const math::Vector3f &location) +{ + slot_item = 0; + slot_location.assign(location); +} + + +Slot::~Slot() +{ + slot_item = 0; +} + +} // namespace core + + + |