Exemplo n.º 1
0
        //.cctor
        static Character()
        {
            WzImage physicsImage = (WzImage)Program.WzManager["map"]["Physics.img"];

            if (!physicsImage.Parsed)
            {
                physicsImage.ParseImage();
            }
            jumpSpeed  = InfoTool.GetDouble(physicsImage["jumpSpeed"]);
            walkSpeed  = InfoTool.GetDouble(physicsImage["walkSpeed"]);
            fallSpeed  = InfoTool.GetDouble(physicsImage["fallSpeed"]);
            gravityAcc = InfoTool.GetDouble(physicsImage["gravityAcc"]);
        }