Searched refs:safeTiles (Results 1 – 2 of 2) sorted by relevance
65 var safeTiles = 0; in INotifyAddedToWorld.AddedToWorld()71 safeTiles++; in INotifyAddedToWorld.AddedToWorld()78 …o.DamageThreshold * (long)health.MaxHP + (100 - Info.DamageThreshold) * safeTiles * (long)health.M… in INotifyAddedToWorld.AddedToWorld()
2615 …std::vector<std::pair<std::pair<int, int>, real_t>> safeTiles; // pair of coordinates, with a dist… in actPlayer() local2636 safeTiles.push_back(std::make_pair(std::make_pair(u, v), dist)); in actPlayer()2644 if ( !safeTiles.empty() ) in actPlayer()2649 for ( auto it = safeTiles.begin(); it != safeTiles.end(); ++it ) in actPlayer()2653 lowestIndex = it - safeTiles.begin(); in actPlayer()2658 int newx = safeTiles.at(lowestIndex).first.first; in actPlayer()2659 int newy = safeTiles.at(lowestIndex).first.second; in actPlayer()2714 else if ( safeTiles.empty() ) in actPlayer()