예제 #1
0
 public NPCActionChoice()
 {
     m_id   = -1;
     m_desc = "None";
     m_npcActionChoiceName = NPCActionChoiceName.None;
     m_parentNPCActionName = NPCActionName.None;
 }
예제 #2
0
    public void SetNPC(NPC _curNPC)
    {
        m_curNPC = _curNPC;

        m_nextNPC       = NPCName.None;
        m_nextNPCAction = NPCActionName.None;
    }
예제 #3
0
    public NPCName m_parentNPCName;     // 나중에 NPC 이름 확인가능 할 때 따로 초기화 해준다.


    public NPCAction()
    {
        m_choiceList    = new List <NPCActionChoice>();
        m_id            = -1;
        m_npcActionName = NPCActionName.None;
        m_desc          = "none";
        m_parentNPCName = NPCName.None;
    }
예제 #4
0
    public void Init(FlowManager _mgr)
    {
        m_mgr = _mgr;

        m_curNPC        = null;
        m_curAction     = null;
        m_curChoiceList = null;
        m_curState      = FlowState.GetNPC;

        m_choiceID = -1;

        m_nextNPC       = NPCName.Player;
        m_nextNPCAction = NPCActionName.PlayerIntro1;
    }
예제 #5
0
 public NPCActionNameSt(Dictionary <string, string> _data)
 {
     m_id            = int.Parse(_data["ID"]);
     m_givenID       = int.Parse(_data["GivenID"]);
     m_npcActionName = (NPCActionName)m_givenID;
 }