예제 #1
0
      public override void CopyCustomBiomesTo(Player other)
      {
          NasuPlayer otherPlayer = other.GetModPlayer <NasuPlayer>(mod);

          otherPlayer.ZonenasuBiome = ZonenasuBiome;   // This will set other player's biome to the same as thisPlayer
      }
예제 #2
0
        public override void ResetNearbyTileEffects()
        {
            NasuPlayer modPlayer = Main.LocalPlayer.GetModPlayer <NasuPlayer>(mod);

            biomeTiles = 0;
        }
예제 #3
0
      public override bool CustomBiomesMatch(Player other)
      {
          NasuPlayer otherPlayer = other.GetModPlayer <NasuPlayer>(mod); // This will get other players using the TutorialPlayerClass

          return(ZonenasuBiome == otherPlayer.ZonenasuBiome);            // This will return true or false depending on other player
      }