Skip to content

Commit

Permalink
Merge pull request #41 from SWE2024/dev
Browse files Browse the repository at this point in the history
finished project
  • Loading branch information
LewisRye authored May 2, 2024
2 parents 556bf68 + fed3e0d commit 1417049
Show file tree
Hide file tree
Showing 12 changed files with 277 additions and 140 deletions.
8 changes: 4 additions & 4 deletions Assets/Scenes/SceneGame.unity
Original file line number Diff line number Diff line change
Expand Up @@ -5834,8 +5834,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 1000, y: 250}
m_SizeDelta: {x: 300, y: 200}
m_AnchoredPosition: {x: 1175, y: -225}
m_SizeDelta: {x: 250, y: 250}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &212927945
MonoBehaviour:
Expand Down Expand Up @@ -36878,7 +36878,7 @@ RectTransform:
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 2560, y: 2000}
m_SizeDelta: {x: 2560, y: 1440}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1840452419
MonoBehaviour:
Expand All @@ -36900,7 +36900,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: Card Inventory
m_text: Outcome of Trading in Cards
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: e3afd6450cbd8a84cbcc577456a52d03, type: 2}
m_sharedMaterial: {fileID: 5575954358767294868, guid: e3afd6450cbd8a84cbcc577456a52d03, type: 2}
Expand Down
6 changes: 3 additions & 3 deletions Assets/Scripts/Country.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public void ReverseColorChange()
/// <returns>
/// List of <c>Country</c> objects that are neighboring enemies.
/// </returns>
public List<Country> HighlightEnemyNeighbours()
public List<Country> HighlightEnemyNeighbors()
{
TempColorChange(Color.grey);

Expand All @@ -138,12 +138,12 @@ public List<Country> HighlightEnemyNeighbours()
}

/// <summary>
/// <c>HighlightFriendlyNeighbours</c> recursively checks all neighbors and if they are friendly, adds them to a list.
/// <c>HighlightFriendlyNeighbors</c> recursively checks all neighbors and if they are friendly, adds them to a list.
/// </summary>
/// <returns>
/// List of <c>Country</c> that you can fortify with.
/// </returns>
public List<Country> HighlightFriendlyNeighbours() // currently only finds 1 layer of neighbors
public List<Country> HighlightFriendlyNeighbors() // currently only finds 1 layer of neighbors
{
TempColorChange(Color.grey);

Expand Down
Loading

0 comments on commit 1417049

Please sign in to comment.