mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-22 11:15:15 +00:00
23 lines
452 B
C++
23 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_
|