#include <mappatch.h>
Collaboration diagram for Map_patch_collection:

Public Member Functions | |
| Map_patch_collection () | |
| ~Map_patch_collection () | |
| void | add (Map_patch *p) |
| void | apply (int schunk) |
Private Attributes | |
| Map_patch_map | patches |
Definition at line 95 of file mappatch.h.
| Map_patch_collection::Map_patch_collection | ( | ) | [inline] |
Definition at line 99 of file mappatch.h.
| Map_patch_collection::~Map_patch_collection | ( | ) |
Definition at line 101 of file mappatch.cc.
| void Map_patch_collection::add | ( | Map_patch * | p | ) |
Definition at line 122 of file mappatch.cc.
References c_num_schunks, c_tiles_per_schunk, Object_spec::loc, Map_patch::spec, Tile_coord::tx, and Tile_coord::ty.
Referenced by SI_Game::SI_Game().
| void Map_patch_collection::apply | ( | int | schunk | ) |
Definition at line 139 of file mappatch.cc.
Map_patch_map Map_patch_collection::patches [private] |
Definition at line 97 of file mappatch.h.
1.5.1