public TerrainType(TerrainTypes terrainType, string name, bool canPass, bool isWater, bool canSwim, float moveRate) { m_name = name; m_isWater = isWater; m_canPass = canPass; m_canSwim = canSwim; m_moveRate = moveRate; m_terrainType = terrainType; }