Open richelbilderbeek opened 5 years ago
Is your feature request related to a problem? Please describe.
In agent::move there is this mess:
agent::move
if((is_on_tile(g, center_temp.x + temp_x, center_temp.y + temp_y) && t_temp[0].get_type() != tile_type::water) || (!will_drown(m_type, 12.34) && is_on_tile(g, center_temp.x + temp_x, center_temp.y + temp_y)) || m_type == agent_type::bird){ m_x += temp_x; m_y += temp_y; }
There are two problems:
12.34
Describe the solution you'd like
Please do:
Describe alternatives you've considered
None.
Additional context
Is your feature request related to a problem? Please describe.
In
agent::move
there is this mess:There are two problems:
12.34
as the [something with] depthDescribe the solution you'd like
Please do:
12.34
by a sane valueDescribe alternatives you've considered
None.
Additional context
None.