Azmyth.Assets.TerrainType.TerrainType C# (CSharp) Method

TerrainType() public method

public TerrainType ( TerrainTypes terrainType, string name, bool canPass, bool isWater, bool canSwim, float moveRate ) : System
terrainType TerrainTypes
name string
canPass bool
isWater bool
canSwim bool
moveRate float
return System
        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;
        }
TerrainType