wavelength 1.0.0
Loading...
Searching...
No Matches
instrpart.h
Go to the documentation of this file.
1#pragma once
2
3#include "game/avatarpart.h"
4
5class Avatar;
6
14class InstrPart : public AvatarPart {
15public:
22 ~InstrPart() override = default;
23
32 InstrPart(int nParent, Avatar *pAvatar);
33
44 void SetType(const char *pszType) override;
45
56 bool Rebuild() override;
57
66 void ReleaseType() override;
67
68private:
73 int mRenamed;
74};
AvatarPart(int nPart, int nParent, Avatar *pAvatar)
Construct the model of a part from its entry of the parts array of the avatar entry of the "db" secti...
One of the avatars the game can draw at a time, lent to the AvatarPartSet that shows.
Definition avatar.h:24
InstrPart(int nParent, Avatar *pAvatar)
Construct the model of the instrument.
void ReleaseType() override
Return to the choice the mesh shows.
void SetType(const char *pszType) override
Start loading the instrument file on the first call, then show a choice once the file has loaded.
bool Rebuild() override
Show the mesh of the pending choice once the instrument file has loaded.
~InstrPart() override=default
Destroy the object.