Romestead Assembly Reference

Shared.Helpers.WorldTileHelper

Type JSON

public class in Shared.Helpers

Methods3
Properties0
Fields0
Events0
Type metadata
  • AssemblyShared
  • NamespaceShared.Helpers
  • Base typeSystem.Object
  • HashB16080B64291E531C19BB33D412270DA385698261677CE82C951F9CF1C580FB3

Relationships

Base type

System.Object

Methods

GetDominantInBounds

public T GetDominantInBounds<T>(T[,] array, Microsoft.Xna.Framework.Rectangle bounds)

Method metadata
  • Visibilitypublic
  • Return typeT
  • StaticTrue
  • VirtualFalse
  • HashD685985B344B1920C6D2D80B093AC03568A97F95C3024B09133457AB055A2F1D
  • Body hash67597DEB96A0C1E5F4C7586F9BE7FE4F27E17AE78B0D3494D0DF01A212046A9D
  • IL size356
Referenced calls
  • System.Math::Max(System.Int32, System.Int32)
  • Microsoft.Xna.Framework.Rectangle::get_Right()
  • System.Array::GetLength(System.Int32)
  • System.Math::Min(System.Int32, System.Int32)
  • Microsoft.Xna.Framework.Rectangle::get_Bottom()
  • System.Collections.Generic.Dictionary<T, System.Single>::.ctor()
  • T[,]::Get(System.Int32, System.Int32)
  • System.Collections.Generic.Dictionary<T, System.Single>::TryGetValue(!0, !1&)
  • System.Collections.Generic.Dictionary<T, System.Single>::set_Item(!0, !1)
  • System.Collections.Generic.Dictionary<T, System.Single>::GetEnumerator()
  • Dictionary.Enumerator<T, System.Single>::get_Current()
  • System.Collections.Generic.KeyValuePair<T, System.Single>::Deconstruct(!0&, !1&)
  • Dictionary.Enumerator<T, System.Single>::MoveNext()
  • System.IDisposable::Dispose()

GetTilePosition

public System.ValueTuple<System.Int32, System.Int32> GetTilePosition(System.Single x, System.Single y)

Method metadata
  • Visibilitypublic
  • Return typeSystem.ValueTuple<System.Int32, System.Int32>
  • StaticTrue
  • VirtualFalse
  • Hash21AA49C004E88E6A9D666D2BFA35444C4EB9AA091361B9EC13F24637528BB585
  • Body hashE0DF7CFA4B2F3DCFBA682BF39F88E1128C42D30CBB8600A52658C81526C835DE
  • IL size16
Referenced calls
  • System.ValueTuple<System.Int32, System.Int32>::.ctor(!0, !1)
Called by

WorldToTilePosition

public Microsoft.Xna.Framework.Point WorldToTilePosition(Microsoft.Xna.Framework.Vector2 position)

Method metadata
  • Visibilitypublic
  • Return typeMicrosoft.Xna.Framework.Point
  • StaticTrue
  • VirtualFalse
  • Hash24929B65091742E6683DB920322F48428613DAAD49BD65F8D5277FCBBB94C719
  • Body hash11A7E2906F9E9C4C5FB8F901AC65B1F0B5D94CEB03B4A0E2468C77E49FA86D00
  • IL size26
Referenced calls
  • Microsoft.Xna.Framework.Point::.ctor(System.Int32, System.Int32)
Called by