コード例 #1
0
 public void unload()
 {
     (Game1.player.CurrentTool as FishingRod).castingEndFunction(-1);
     (Game1.player.CurrentTool as FishingRod).doneFishing(Game1.player);
     Game1.player.TemporaryItem   = null;
     Game1.player.currentLocation = Game1.currentLocation;
     Game1.player.completelyStopAnimatingOrDoingAction();
     Game1.player.forceCanMove();
     Game1.player.faceDirection(2);
     content.Unload();
     content.Dispose();
     content = null;
 }