19#ifndef HEADER_ATTACHMENT_MANAGER_HPP
20#define HEADER_ATTACHMENT_MANAGER_HPP
24 namespace scene {
class IAnimatedMesh; }
28#include "items/attachment.hpp"
29#include "utils/no_copy.hpp"
37 scene::IAnimatedMesh *m_attachments[Attachment::ATTACH_MAX];
38 Material *m_all_icons [Attachment::ATTACH_MAX];
46 scene::IAnimatedMesh *
getMesh(Attachment::AttachmentType type)
const
47 {
return m_attachments[type]; }
Definition: attachment_manager.hpp:35
Material * getIcon(int type) const
Returns the icon to display in the race gui if a kart has an attachment.
Definition: attachment_manager.hpp:51
scene::IAnimatedMesh * getMesh(Attachment::AttachmentType type) const
Returns the mest for a certain attachment.
Definition: attachment_manager.hpp:46
Definition: material.hpp:48
Utility class, you can inherit from this class to disallow the assignment operator and copy construct...
Definition: no_copy.hpp:26