예제 #1
0
        protected virtual void onCollideV(Solid solid)
        {
            if (Speed.Y > 0)
            {
                onGround = true;
            }

            Speed.Y = 0;
        }
예제 #2
0
 protected virtual void onCollideH(Solid solid)
 {
     Speed.X = 0;
 }