Changes

Jump to navigation Jump to search
remove {{upcoming|1.6}}
Line 180: Line 180:  
* When a farmhand warps to a location, the game fetches the real location from the host player before the warp completes. For a short while, the farmhand may have a null <samp>currentLocation</samp> field while they're between locations.
 
* When a farmhand warps to a location, the game fetches the real location from the host player before the warp completes. For a short while, the farmhand may have a null <samp>currentLocation</samp> field while they're between locations.
   −
<br />{{upcoming|1.6|You can check whether a location is active using its <samp>IsActiveLocation</samp> method:
+
You can check whether a location is active using its <samp>IsActiveLocation</samp> method:
 
<syntaxhighlight lang="c#">
 
<syntaxhighlight lang="c#">
 
foreach (GameLocation location in Game1.locations)
 
foreach (GameLocation location in Game1.locations)
Line 190: Line 190:  
}
 
}
 
</syntaxhighlight>
 
</syntaxhighlight>
}}
      
==Main classes==
 
==Main classes==
translators
8,437

edits

Navigation menu