Esempio n. 1
0
        private void UpdateDown()
        {
            DoCharacterTouchResponse(27, 8, 16, DisplacementX);

            foreach (KeyValuePair <Character, SolidObjectTouch> kvp in CharacterTouchStatus.ToArray())
            {
                if ((kvp.Value & SolidObjectTouch.Bottom) == 0)
                {
                    continue;
                }

                SpringDown(kvp.Key);
            }
        }
Esempio n. 2
0
        private void UpdateDiagonallyUp()
        {
            DoCharacterTouchResponse(27, 16, 16, DisplacementX);

            foreach (KeyValuePair <Character, SolidObjectTouch> kvp in CharacterTouchStatus.ToArray())
            {
                if ((kvp.Value & (SolidObjectTouch.Standing | SolidObjectTouch.Side)) == 0)
                {
                    continue;
                }

                SpringDiagonallyUp(kvp.Key);
            }
        }
Esempio n. 3
0
        private void UpdateHorizontal()
        {
            DoCharacterTouchResponse(19, 14, 15, DisplacementX);

            foreach (KeyValuePair <Character, SolidObjectTouch> kvp in CharacterTouchStatus.ToArray())
            {
                if ((kvp.Value & SolidObjectTouch.Pushing) == 0)
                {
                    continue;
                }

                SpringHorizontally(kvp.Key);
            }

            loc_18BC6();
        }