コード例 #1
0
 private void UpdateFollowObject(GameTime gameTime)
 {
     Direction = MathFunctions.ChangeDirection(gameTime, Direction, Position, player.Position, turningSpeed);
     Direction = MathFunctions.ScaleDirection(Direction);
 }