Пример #1
0
 public void InitWithAttr(MapAttr attr)
 {
     m_data.Hp   = attr.GetInt("hp");
     m_data.Name = attr.GetStr("name");
 }