Otclient  14/8/2020
MinimapBlock Class Reference

#include <minimap.h>

Public Member Functions

void clean ()
 
void update ()
 
void updateTile (int x, int y, const MinimapTile &tile)
 
MinimapTilegetTile (int x, int y)
 
void resetTile (int x, int y)
 
uint getTileIndex (int x, int y)
 
const TexturePtrgetTexture ()
 
std::array< MinimapTile, MMBLOCK_SIZE *MMBLOCK_SIZE > & getTiles ()
 
void mustUpdate ()
 
void justSaw ()
 
bool wasSeen ()
 

Detailed Description

Definition at line 55 of file minimap.h.

Member Function Documentation

◆ clean()

void MinimapBlock::clean ( )

Definition at line 38 of file minimap.cpp.

Here is the call graph for this function:

◆ getTexture()

const TexturePtr& MinimapBlock::getTexture ( )
inline

Definition at line 64 of file minimap.h.

Here is the caller graph for this function:

◆ getTile()

MinimapTile& MinimapBlock::getTile ( int  x,
int  y 
)
inline

Definition at line 61 of file minimap.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getTileIndex()

uint MinimapBlock::getTileIndex ( int  x,
int  y 
)
inline

Definition at line 63 of file minimap.h.

Here is the caller graph for this function:

◆ getTiles()

std::array<MinimapTile, MMBLOCK_SIZE *MMBLOCK_SIZE>& MinimapBlock::getTiles ( )
inline

Definition at line 65 of file minimap.h.

Here is the caller graph for this function:

◆ justSaw()

void MinimapBlock::justSaw ( )
inline

Definition at line 67 of file minimap.h.

Here is the caller graph for this function:

◆ mustUpdate()

void MinimapBlock::mustUpdate ( )
inline

Definition at line 66 of file minimap.h.

Here is the caller graph for this function:

◆ resetTile()

void MinimapBlock::resetTile ( int  x,
int  y 
)
inline

Definition at line 62 of file minimap.h.

Here is the call graph for this function:

◆ update()

void MinimapBlock::update ( )

Definition at line 45 of file minimap.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateTile()

void MinimapBlock::updateTile ( int  x,
int  y,
const MinimapTile tile 
)

Definition at line 78 of file minimap.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ wasSeen()

bool MinimapBlock::wasSeen ( )
inline

Definition at line 68 of file minimap.h.

Here is the caller graph for this function:

The documentation for this class was generated from the following files: