SuperTuxKart
Public Member Functions | Private Attributes | List of all members
AttachmentManager Class Reference
Inheritance diagram for AttachmentManager:
Inheritance graph
[legend]

Public Member Functions

void loadModels ()
 
scene::IAnimatedMesh * getMesh (Attachment::AttachmentType type) const
 Returns the mest for a certain attachment. More...
 
MaterialgetIcon (int type) const
 Returns the icon to display in the race gui if a kart has an attachment. More...
 

Private Attributes

scene::IAnimatedMesh * m_attachments [Attachment::ATTACH_MAX]
 
Materialm_all_icons [Attachment::ATTACH_MAX]
 

Member Function Documentation

◆ getIcon()

Material* AttachmentManager::getIcon ( int  type) const
inline

Returns the icon to display in the race gui if a kart has an attachment.

◆ getMesh()

scene::IAnimatedMesh* AttachmentManager::getMesh ( Attachment::AttachmentType  type) const
inline

Returns the mest for a certain attachment.

Parameters
typeType of the attachment needed.

The documentation for this class was generated from the following files: