Last active
June 2, 2018 17:44
-
-
Save allencoded/6cbc340b55c60b2f8c77cab2857e7cf1 to your computer and use it in GitHub Desktop.
WorldTile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.Tilemaps; | |
public class WorldTile { | |
public Vector3Int LocalPlace { get; set; } | |
public Vector3 WorldLocation { get; set; } | |
public TileBase TileBase { get; set; } | |
public Tilemap TilemapMember { get; set; } | |
public string Name { get; set; } | |
// Below is needed for Breadth First Searching | |
public bool IsExplored { get; set; } | |
public WorldTile ExploredFrom { get; set; } | |
public int Cost { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment