bool World::GetPToCFieldAt(Field* &fip, position pos) { Map *temp; if (maps.findMapForPos(pos, temp)) { return temp->GetPToCFieldAt(fip, pos.x, pos.y); } return false; }
bool World::GetPToCFieldAt(Field* &fip, short int x, short int y, short int z) { Map *temp; if (maps.findMapForPos(x, y, z, temp)) { return temp->GetPToCFieldAt(fip, x, y); } else { return false; } }