1
This commit is contained in:
parent
5bc827bd2f
commit
1cc57ac7ca
@ -269,7 +269,7 @@ void TiledMap::Dump()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool TiledMap::CalcCurrPos(std::list<int>& path_points, int old_pos_x, int old_pos_y, int time_ms, int& curr_pos_x, int& curr_pos_y)
|
bool TiledMap::CalcCurrPos(std::vector<int>& path_points, int old_pos_x, int old_pos_y, int time_ms, int& curr_pos_x, int& curr_pos_y)
|
||||||
{
|
{
|
||||||
if (path_points.size() < 2) {
|
if (path_points.size() < 2) {
|
||||||
return false;
|
return false;
|
||||||
|
@ -68,7 +68,7 @@ class TiledMap
|
|||||||
bool HasStagePath(const std::string& path_name);
|
bool HasStagePath(const std::string& path_name);
|
||||||
|
|
||||||
std::vector<GridCell*> SortGridList(std::vector<GridCell*>* grid_list, StagePoint* sp);
|
std::vector<GridCell*> SortGridList(std::vector<GridCell*>* grid_list, StagePoint* sp);
|
||||||
bool CalcCurrPos(std::list<int>& path_points, int old_pos_x, int old_pos_y, int time_ms, int& curr_pos_x, int& curr_pos_y);
|
bool CalcCurrPos(std::vector<int>& path_points, int old_pos_x, int old_pos_y, int time_ms, int& curr_pos_x, int& curr_pos_y);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::map<std::string, std::list<TiledLayer>> layer_hash;
|
std::map<std::string, std::list<TiledLayer>> layer_hash;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user