GrandLarceny.Rope.setLength C# (CSharp) Method

setLength() public method

public setLength ( float a_length ) : void
a_length float
return void
        public void setLength(float a_length)
        {
            m_lenght = a_length;
            m_endPosition = new CartesianCoordinate(m_position.getGlobalCartesian() + new Vector2(0, (float)Math.Max(m_lenght, 72)));
            m_line.updateTexture();
        }