// come out of stealth public void ExitStealth() { if (stealthed) { stealthed = false; OnReveal?.Invoke(); } }
public void SecondReveal(int i_Row, int i_Col) { m_GameBoard.Expose(i_Row, i_Col); if (Reveal != null) { Reveal.Invoke(i_Row, i_Col); } }
public void FirstReveal(int i_Row, int i_Col, bool i_TurnPlayer1) { m_GameBoard.Expose(i_Row, i_Col); if (Reveal != null) { Reveal.Invoke(i_Row, i_Col); } if (m_Player2.Pc && !i_TurnPlayer1) { // Case this is turn of player 2 and it is AI -> need to update memeory of AI. m_Player2.m_PlayerVsComputer.UpdateMemory(i_Row, i_Col, m_GameBoard.m_Board[i_Row, i_Col].Value); } }