1 #ifndef CORE_COMPONENTS_NPC_HPP
2 #define CORE_COMPONENTS_NPC_HPP
30 const std::string&
name()
const;
39 const std::string _name;
Core classes and functionality for both the editor and game.
Adding this to an entity will allow it to be interacted with and talked to.
NPC(const file::NPC &data)
Construct a new NPC component.
const file::Conversation & conversation() const
The conversation of the NPC.
const std::string & name() const
The name of the NPC.
Stores a conversation that an NPC or trainer can have with the player.