SuperTuxKart
Loading...
Searching...
No Matches
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.
 
MaterialgetIcon (int type) const
 Returns the icon to display in the race gui if a kart has an attachment.
 

Private Attributes

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

Member Function Documentation

◆ 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: