Пример #1
0
        public float GetValueAt(Vector3 worldPos, OverworldField fieldType, Vector2 origin)
        {
            Vector2 v = WorldToOverworld(worldPos, origin);

            return(OverworldImageOperations.GetValue(Map, v, fieldType));
        }
Пример #2
0
 public float GetOverworldValueAt(int OverworldX, int OverworldY, OverworldField fieldType)
 {
     return(OverworldImageOperations.GetValue(Map, new Vector2(OverworldX, OverworldY), fieldType));
 }