Exemplo n.º 1
0
 public static void Register(string type, EMapNodeType eNodeType, EMapJudgeType eJudgeType, bool bWalkType)
 {
     MapCfg.s_oDicNodeType.Add(type, eNodeType);
     MapCfg.s_oDicJudegeType.Add(type, eJudgeType);
     MapCfg.s_oDicWalkType.Add(type, bWalkType);
     MapCfg.s_oDicMapNodeType2String.Add(eNodeType, type);
 }
Exemplo n.º 2
0
 public MapNode()
 {
     this.nIndexX         = 0;
     this.nIndexY         = 0;
     this.nIndexU         = 0;
     this.m_eMapNodeType  = EMapNodeType.MAP_NODE_INVALID;
     this.m_eMapJudgeType = EMapJudgeType.MAP_JUDGE_INVALID;
     this.m_bCanWalk      = false;
 }