Beispiel #1
0
 protected override bool OnHit(HitInfo info)
 {
     info.OnHorizontalMovement(() => Direction.X = -Direction.X);
     info.OnVerticalMovement(() => Direction.Y   = -Direction.Y);
     return(true);
 }