예제 #1
0
    void HandleRightKey(bool pressedRightKey)
    {
        currPunchTimeout = punchTimeOut;
        graphics.FlipX(!pressedRightKey);
        int hitDirection = pressedRightKey ? 1 : -1;

        punchController.CastPunchRay(hitDirection);
    }