Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ddnet/ddnet
/ GetTileIndex
Method
GetTileIndex
src/game/collision.cpp:966–971 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
964
}
965
966
int CCollision::GetTileIndex(int Index) const
967
{
968
if(Index < 0)
969
return 0;
970
return m_pTiles[Index].m_Index;
971
}
972
973
int CCollision::GetFrontTileIndex(int Index) const
974
{
Callers
6
IsStart
Method · 0.80
HandleTiles
Method · 0.80
DDRaceTick
Method · 0.80
HandleTiles
Method · 0.80
DDRaceTick
Method · 0.80
HandleCharacterTiles
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected