Skip to content

Instantly share code, notes, and snippets.

@Coditivity
Created November 27, 2018 10:24
Show Gist options
  • Save Coditivity/92f35ae1fc8b455a7caf87c7e8f1b088 to your computer and use it in GitHub Desktop.
Save Coditivity/92f35ae1fc8b455a7caf87c7e8f1b088 to your computer and use it in GitHub Desktop.
class Tile
{
/// <summary>
/// The id of the player who owns this tile, if it is owned. -1 means no one 'owns' it
/// </summary>
public int ownedPlayerId = -1;
/// <summary>
/// The id of the player whose path contains this node. -1 means not in a path
/// </summary>
public int pathPlayerId = -1;
//
//
//
// REST OF THE CLASS
//
//
//
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment