Advertisement
Guest User

BFSfunctionCall

a guest
Nov 23rd, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.21 KB | None | 0 0
  1. void InfluenceWorld::OnTileSelected(int index)
  2. {
  3.     SDL_Log("Clicked tile %d", index);
  4.  
  5.     // this is how you add influence to a tile
  6.     //m_pTiles[index]->AddInfluence(1.f);
  7.  
  8.     BFSToAddInfluence(index);
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement