#include "libtcod.hpp"
Go to the source code of this file.
Classes |
struct | Cell |
| Contains all data for map cell. More...
|
Functions |
void | update_map_mob (int x, int y, int mob) |
| Function update map when mob value was changed.
|
void | update_map_item (int x, int y, int item, bool remove=false) |
| Function update map when item value was changed.
|
Function Documentation
void update_map_item |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
item, |
|
|
bool |
remove |
|
) |
| |
Function update map when item value was changed.
- Parameters:
-
x | X-axis position on map. |
y | Y-axis position on map. |
item | Index of item. |
remove | If true, remove item, otherwise add item. Default false. |
void update_map_mob |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
mob |
|
) |
| |
Function update map when mob value was changed.
- Parameters:
-
x | X-axis position on map. |
y | Y-axis position on map. |
mob | Index of mob. |