mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-16 00:25:06 +00:00
24 lines
452 B
C
24 lines
452 B
C
|
#ifndef SEAD_NAMABLE_H_
|
||
|
#define SEAD_NAMABLE_H_
|
||
|
|
||
|
#include <prim/seadSafeString.h>
|
||
|
|
||
|
namespace sead
|
||
|
{
|
||
|
class INamable
|
||
|
{
|
||
|
public:
|
||
|
INamable() = default;
|
||
|
explicit INamable(const SafeString& name) : mINamableName(name) {}
|
||
|
|
||
|
const SafeString& getName() const { return mINamableName; }
|
||
|
void setName(const SafeString& name) { mINamableName = name; }
|
||
|
|
||
|
private:
|
||
|
SafeString mINamableName = "";
|
||
|
};
|
||
|
|
||
|
} // namespace sead
|
||
|
|
||
|
#endif // SEAD_NAMABLE_H_
|